void SetTextureCoordinates(std::vector< Rect > texture_coords)
void SetSamplerDescriptor(SamplerDescriptor desc)
void SetBlendMode(BlendMode blend_mode)
~AtlasContents() override
bool Render(const ContentContext &renderer, const Entity &entity, RenderPass &pass) const override
const std::vector< Matrix > & GetTransforms() const
const std::vector< Rect > & GetTextureCoordinates() const
std::shared_ptr< Texture > GetTexture() const
void SetColors(std::vector< Color > colors)
std::optional< Rect > GetCoverage(const Entity &entity) const override
Get the area of the render pass that will be affected when this contents is rendered.
void SetAlpha(Scalar alpha)
void SetCullRect(std::optional< Rect > cull_rect)
void SetTexture(std::shared_ptr< Texture > texture)
void SetTransforms(std::vector< Matrix > transforms)
const SamplerDescriptor & GetSamplerDescriptor() const
const std::vector< Color > & GetColors() const