Class CustomRenderInterface¶
Defined in File custom_render_interface.h
Nested Relationships¶
Nested Types¶
Inheritance Relationships¶
Base Type¶
public RenderInterface
Class Documentation¶
-
class
CustomRenderInterface
: public RenderInterface¶ Provides a render interface for RmlUi.
Public Functions
-
CustomRenderInterface
(int width, int height)¶
-
CustomRenderInterface
(const CustomRenderInterface&)¶
-
virtual
~CustomRenderInterface
()¶
-
virtual void
RenderGeometry
(Rml::Vertex *vertices, int numVertices, int *indices, int numIndices, Rml::TextureHandle texture, const Rml::Vector2f &translation)¶
-
virtual Rml::CompiledGeometryHandle
CompileGeometry
(Rml::Vertex *vertices, int numVertices, int *indices, int numIndices, Rml::TextureHandle texture)¶
-
virtual void
RenderCompiledGeometry
(Rml::CompiledGeometryHandle geometry, const Rml::Vector2f &translation)¶
-
virtual void
ReleaseCompiledGeometry
(Rml::CompiledGeometryHandle geometry)¶
-
virtual bool
LoadTexture
(Rml::TextureHandle &textureHandle, Rml::Vector2i &textureDimensions, const String &source)¶
-
virtual bool
GenerateTexture
(Rml::TextureHandle &textureHandle, const byte *source, const Rml::Vector2i &sourceDimensions)¶
-
virtual void
ReleaseTexture
(Rml::TextureHandle texture)¶
-
virtual void
EnableScissorRegion
(bool enable)¶
-
virtual void
SetScissorRegion
(int x, int y, int width, int height)¶
-
virtual void
SetTransform
(const Rml::Matrix4f *transform)¶
-