TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::Triangle 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::float2 p0 = { 0,0 }
tachyon::float2 p1 = { 0,0 }
tachyon::float2 p2 = { 0,0 }
tachyon::ImageIndex textureIndex = tachyon::ImageIndex::Invalid
int16_t colorIndex = 0
int16_t hardEdges = 0
 TriangleEdges without a soft edge.

Member Data Documentation

◆ transform0

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

◆ transform1

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

◆ clipMin

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

◆ clipMax

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

◆ p0

tachyon::float2 tachyon::Triangle::p0 = { 0,0 }

◆ p1

tachyon::float2 tachyon::Triangle::p1 = { 0,0 }

◆ p2

tachyon::float2 tachyon::Triangle::p2 = { 0,0 }

◆ textureIndex

tachyon::ImageIndex tachyon::Triangle::textureIndex = tachyon::ImageIndex::Invalid

◆ colorIndex

int16_t tachyon::Triangle::colorIndex = 0

◆ hardEdges

int16_t tachyon::Triangle::hardEdges = 0

TriangleEdges without a soft edge.


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