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

Depth only: marks pos/size as covered by opaque content drawn after it, so what was drawn before under it is skipped (its fragments fail the depth test early). More...

#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 }

Detailed Description

Depth only: marks pos/size as covered by opaque content drawn after it, so what was drawn before under it is skipped (its fragments fail the depth test early).

Member Data Documentation

◆ transform0

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

◆ transform1

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

◆ clipMin

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

◆ clipMax

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

◆ pos

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

◆ size

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

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