struct
SlotSlot for a shadow map in the shadow atlas.
Constructors, destructors, conversion operators
- Slot(glm::vec2 size, glm::vec2 offset, int casterId)
- Constructs.
Public variables
Function documentation
cubos:: engine:: ShadowAtlas:: Slot:: Slot(glm::vec2 size,
glm::vec2 offset,
int casterId)
Constructs.
Parameters | |
---|---|
size | Shadow map size, in normalized coordinates. |
offset | Shadow map offset, in normalized coordinates. |
casterId | Id of the shadow caster (-1 if none). |