group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
SdfGlyphGPU Struct Reference

SDF glyph quad (world-space or screen-space HUD). More...

#include <ParticleTypes.hpp>

Public Attributes

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
 

Detailed Description

SDF glyph quad (world-space or screen-space HUD).

Member Data Documentation

◆ _p0

float SdfGlyphGPU::_p0

◆ _p1

float SdfGlyphGPU::_p1

◆ color

glm::vec4 SdfGlyphGPU::color

◆ right

glm::vec3 SdfGlyphGPU::right

World-space right (camRight for world, {1,0,0} for HUD).

◆ size

float SdfGlyphGPU::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: