#include <rmlrenderinterface.h>
|
| CQSPRenderInterface (Application &app) |
|
| ~CQSPRenderInterface ()=default |
|
void | RenderGeometry (Rml::Vertex *vertices, int num_vertices, int *indices, int num_indices, Rml::TextureHandle texture, const Rml::Vector2f &translation) override |
|
Rml::CompiledGeometryHandle | CompileGeometry (Rml::Vertex *vertices, int num_vertices, int *indices, int num_indices, Rml::TextureHandle texture) override |
|
void | RenderCompiledGeometry (Rml::CompiledGeometryHandle geometry, const Rml::Vector2f &translation) override |
|
void | ReleaseCompiledGeometry (Rml::CompiledGeometryHandle geometry) override |
|
void | EnableScissorRegion (bool enable) override |
|
void | SetScissorRegion (int x, int y, int width, int height) override |
|
bool | LoadTexture (Rml::TextureHandle &texture_handle, Rml::Vector2i &texture_dimensions, const Rml::String &source) override |
|
bool | GenerateTexture (Rml::TextureHandle &texture_handle, const Rml::byte *source, const Rml::Vector2i &source_dimensions) override |
|
void | ReleaseTexture (Rml::TextureHandle texture) override |
|
void | SetTransform (const Rml::Matrix4f *transform) override |
|
void | PrepareRenderBuffer () |
|
void | PresentRenderBuffer () |
|
◆ CQSPRenderInterface()
cqsp::engine::CQSPRenderInterface::CQSPRenderInterface |
( |
Application & |
app | ) |
|
|
explicit |
◆ ~CQSPRenderInterface()
cqsp::engine::CQSPRenderInterface::~CQSPRenderInterface |
( |
| ) |
|
|
default |
◆ CompileGeometry()
Rml::CompiledGeometryHandle cqsp::engine::CQSPRenderInterface::CompileGeometry |
( |
Rml::Vertex * |
vertices, |
|
|
int |
num_vertices, |
|
|
int * |
indices, |
|
|
int |
num_indices, |
|
|
Rml::TextureHandle |
texture |
|
) |
| |
|
override |
◆ EnableScissorRegion()
void cqsp::engine::CQSPRenderInterface::EnableScissorRegion |
( |
bool |
enable | ) |
|
|
override |
◆ GenerateTexture()
bool cqsp::engine::CQSPRenderInterface::GenerateTexture |
( |
Rml::TextureHandle & |
texture_handle, |
|
|
const Rml::byte * |
source, |
|
|
const Rml::Vector2i & |
source_dimensions |
|
) |
| |
|
override |
◆ LoadTexture()
bool cqsp::engine::CQSPRenderInterface::LoadTexture |
( |
Rml::TextureHandle & |
texture_handle, |
|
|
Rml::Vector2i & |
texture_dimensions, |
|
|
const Rml::String & |
source |
|
) |
| |
|
override |
◆ PrepareRenderBuffer()
void cqsp::engine::CQSPRenderInterface::PrepareRenderBuffer |
( |
| ) |
|
◆ PresentRenderBuffer()
void cqsp::engine::CQSPRenderInterface::PresentRenderBuffer |
( |
| ) |
|
◆ ReleaseCompiledGeometry()
void cqsp::engine::CQSPRenderInterface::ReleaseCompiledGeometry |
( |
Rml::CompiledGeometryHandle |
geometry | ) |
|
|
override |
◆ ReleaseTexture()
void cqsp::engine::CQSPRenderInterface::ReleaseTexture |
( |
Rml::TextureHandle |
texture | ) |
|
|
override |
◆ RenderCompiledGeometry()
void cqsp::engine::CQSPRenderInterface::RenderCompiledGeometry |
( |
Rml::CompiledGeometryHandle |
geometry, |
|
|
const Rml::Vector2f & |
translation |
|
) |
| |
|
override |
◆ RenderGeometry()
void cqsp::engine::CQSPRenderInterface::RenderGeometry |
( |
Rml::Vertex * |
vertices, |
|
|
int |
num_vertices, |
|
|
int * |
indices, |
|
|
int |
num_indices, |
|
|
Rml::TextureHandle |
texture, |
|
|
const Rml::Vector2f & |
translation |
|
) |
| |
|
override |
◆ SetScissorRegion()
void cqsp::engine::CQSPRenderInterface::SetScissorRegion |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
override |
◆ SetTransform()
void cqsp::engine::CQSPRenderInterface::SetTransform |
( |
const Rml::Matrix4f * |
transform | ) |
|
|
override |
◆ app
◆ color_shader
◆ counter
int cqsp::engine::CQSPRenderInterface::counter = 0 |
|
private |
◆ frag_shader
◆ logger
std::shared_ptr<spdlog::logger> cqsp::engine::CQSPRenderInterface::logger |
|
private |
◆ m_transform_enabled
bool cqsp::engine::CQSPRenderInterface::m_transform_enabled = false |
|
private |
◆ m_transform_matrix
glm::mat4 cqsp::engine::CQSPRenderInterface::m_transform_matrix = glm::mat4(1.0) |
|
private |
◆ texture_frag_shader
asset::Shader cqsp::engine::CQSPRenderInterface::texture_frag_shader |
|
private |
◆ texture_shader
◆ vert_shader
The documentation for this class was generated from the following files: