Struct DrawSemantics
Defined in File shader.h
Struct Documentation
-
struct DrawSemantics
Copied per-draw engine values; alpha and scale are not clamped.
Public Members
-
glm::mat4 model = {1.0f}
Local-to-world transform, independent of a live entity.
-
float alpha = 1.0f
Shader alpha multiplier; the shader/blend combination defines its effect.
-
float scale = 1.0f
Shader size multiplier; no shared unit conversion or validation.
-
int texture_unit = 0
Legacy zero-based texture request; materials use ImageBinding instead.
-
glm::mat4 model = {1.0f}