Class RenderTarget
Defined in File rendering.h
Inheritance Relationships
Base Type
public Rml::RenderInterface
Class Documentation
-
class RenderTarget : public Rml::RenderInterface
Declaration:
finalPublic Functions
-
explicit RenderTarget(unsigned int maximum_texture_size = 4096)
-
void begin_recording()
-
RecordedScene finish_recording()
Declaration:
[[nodiscard]]
-
void discard_recording() noexcept
-
Rml::CompiledGeometryHandle CompileGeometry(Rml::Span<const Rml::Vertex> vertices, Rml::Span<const int> indices) override
-
void RenderGeometry(Rml::CompiledGeometryHandle geometry, Rml::Vector2f translation, Rml::TextureHandle texture) override
-
Rml::TextureHandle GenerateTexture(Rml::Span<const Rml::byte> pixels, Rml::Vector2i dimensions) override
-
void EnableScissorRegion(bool enable) override
-
void EnableClipMask(bool enable) override
-
void CompositeLayers(Rml::LayerHandle, Rml::LayerHandle, Rml::BlendMode, Rml::Span<const Rml::CompiledFilterHandle>) override
-
void PopLayer() override
-
explicit RenderTarget(unsigned int maximum_texture_size = 4096)