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

#include <gui_core/graphics/gui_render_primitives.h>

Public Attributes

const char * shaderBaseName
 backend composes path + stage suffix + format
uint32_t stride
 per-primitive byte size (std430)
uint8_t pushSlot
 index into GPUDrawPushConstants::primitiveAddresses
PrimitiveShape shape = PrimitiveShape::Quad
bool depthOnly = false
 Writes depth and no color, before the other kinds; they test depth without writing it.

Member Data Documentation

◆ shaderBaseName

const char* tachyon::PrimitiveSpec::shaderBaseName

backend composes path + stage suffix + format

◆ stride

uint32_t tachyon::PrimitiveSpec::stride

per-primitive byte size (std430)

◆ pushSlot

uint8_t tachyon::PrimitiveSpec::pushSlot

◆ shape

PrimitiveShape tachyon::PrimitiveSpec::shape = PrimitiveShape::Quad

◆ depthOnly

bool tachyon::PrimitiveSpec::depthOnly = false

Writes depth and no color, before the other kinds; they test depth without writing it.


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