libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Data layout for the attributes of a single instance of the mesh. More...
#include <donut/graphics/TexturedQuad.hpp>
Public Attributes | |
mat3 | transformation |
Transformation to apply to the vertex positions. More... | |
vec4 | textureOffsetAndScale |
Texture offset (xy) and texture scale (zw) to apply to the texture coordinates before sampling the texture. More... | |
vec4 | tintColor |
Tint color to use when rendering. More... | |
Data layout for the attributes of a single instance of the mesh.
mat3 donut::graphics::TexturedQuad::Instance::transformation |
Transformation to apply to the vertex positions.
vec4 donut::graphics::TexturedQuad::Instance::textureOffsetAndScale |
Texture offset (xy) and texture scale (zw) to apply to the texture coordinates before sampling the texture.
vec4 donut::graphics::TexturedQuad::Instance::tintColor |
Tint color to use when rendering.