SDF glyph quad (world-space or screen-space HUD).
More...
#include <ParticleTypes.hpp>
|
| glm::vec3 | worldPos |
| | Bottom-left corner (world or pixel space).
|
| |
| float | size |
| | Glyph height in world units / pixels.
|
| |
| glm::vec2 | uvMin |
| |
| glm::vec2 | uvMax |
| |
| glm::vec4 | color |
| |
| glm::vec3 | right |
| | World-space right (camRight for world, {1,0,0} for HUD).
|
| |
| float | _p0 |
| |
| glm::vec3 | up |
| | World-space up (camUp for world, {0,1,0} for HUD).
|
| |
| float | _p1 |
| |
SDF glyph quad (world-space or screen-space HUD).
◆ _p0
◆ _p1
◆ color
| glm::vec4 SdfGlyphGPU::color |
◆ right
| glm::vec3 SdfGlyphGPU::right |
World-space right (camRight for world, {1,0,0} for HUD).
◆ size
Glyph height in world units / pixels.
◆ up
| glm::vec3 SdfGlyphGPU::up |
World-space up (camUp for world, {0,1,0} for HUD).
◆ uvMax
| glm::vec2 SdfGlyphGPU::uvMax |
◆ uvMin
| glm::vec2 SdfGlyphGPU::uvMin |
◆ worldPos
| glm::vec3 SdfGlyphGPU::worldPos |
Bottom-left corner (world or pixel space).
The documentation for this struct was generated from the following file: