|
KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
| struct | RHI_INSTANCE |
| Per-instance data for instanced 2D rendering, packed into 40 bytes. More... | |
Enumerations | |
| enum | RHI_INSTANCE_FLAG : uint16_t { RHI_INSTANCE_NEGATIVE = 1 << 3 , RHI_INSTANCE_SCREEN_SPACE = 1 << 4 , RHI_INSTANCE_GROW_OUTWARD = 1 << 5 , RHI_INSTANCE_FADE_SMALL = 1 << 6 , RHI_INSTANCE_HARD_EDGE = 1 << 7 , RHI_INSTANCE_UNDIMMED = 1 << 8 , RHI_INSTANCE_PIXEL_CIRCLE = 1 << 9 , RHI_INSTANCE_OVERLAY_ALPHA = 1 << 10 , RHI_INSTANCE_SCALE_LOD = 1 << 11 , RHI_INSTANCE_LENGTH_PAD = 1 << 14 , RHI_INSTANCE_BITMAP_GLYPH = 1 << 15 } |
| Instance flags controlling how the shaders draw an element. More... | |
Functions | |
| RHI_VERTEX_BUFFER_LAYOUT_DESC | RhiInstanceLayout () |
| Per-instance vertex layout of RHI_INSTANCE, starting at location 3 after the RHI_VERTEX attributes. | |
| enum RHI_INSTANCE_FLAG : uint16_t |
Instance flags controlling how the shaders draw an element.
Definition at line 31 of file rhi_instance.h.
|
inline |
Per-instance vertex layout of RHI_INSTANCE, starting at location 3 after the RHI_VERTEX attributes.
Definition at line 101 of file rhi_instance.h.
References RHI_VERTEX_BUFFER_LAYOUT_DESC::attributes, FLOAT16X4, FLOAT32X2, FLOAT32X4, INSTANCE, RHI_VERTEX_BUFFER_LAYOUT_DESC::stepMode, RHI_VERTEX_BUFFER_LAYOUT_DESC::stride, UINT16X2, and UINT8X4_NORM.
Referenced by RHI_GAL_PIPELINES::createInstancedPipeline().