TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::Quad Struct Reference

#include <gui_core/graphics/gui_render_primitives.h>

Public Attributes

glsl_float4 transform0 = { 1, 0, 0 }
glsl_float4 transform1 = { 0, 1, 0 }
tachyon::int2 clipMin = { 0,0 }
tachyon::int2 clipMax = { 0,0 }
tachyon::int2 pos = { 0,0 }
tachyon::int2 size = { 0,0 }
tachyon::ImageIndex textureIndex = tachyon::ImageIndex::Invalid
int16_t colorIndex = 0
int16_t blur = 0
 shadow blur, pixels; pos/size include it on every side
float cornerRadius = 0.0f

Member Data Documentation

◆ transform0

glsl_float4 tachyon::Quad::transform0 = { 1, 0, 0 }

◆ transform1

glsl_float4 tachyon::Quad::transform1 = { 0, 1, 0 }

◆ clipMin

tachyon::int2 tachyon::Quad::clipMin = { 0,0 }

◆ clipMax

tachyon::int2 tachyon::Quad::clipMax = { 0,0 }

◆ pos

tachyon::int2 tachyon::Quad::pos = { 0,0 }

◆ size

tachyon::int2 tachyon::Quad::size = { 0,0 }

◆ textureIndex

tachyon::ImageIndex tachyon::Quad::textureIndex = tachyon::ImageIndex::Invalid

◆ colorIndex

int16_t tachyon::Quad::colorIndex = 0

◆ blur

int16_t tachyon::Quad::blur = 0

shadow blur, pixels; pos/size include it on every side

◆ cornerRadius

float tachyon::Quad::cornerRadius = 0.0f

The documentation for this struct was generated from the following file: