|
KiCad PCB EDA Suite
|
#include <rhi/rhi_pipeline.h>#include <cmath>#include <cstdint>#include <cstring>#include <glm/gtc/packing.hpp>Go to the source code of this file.
Classes | |
| struct | RHI_VERTEX |
| Position is in world coordinates, color is premultiplied alpha and u, v hold half floats. More... | |
Functions | |
| RHI_VERTEX_BUFFER_LAYOUT_DESC | RhiStandardVertexLayout () |
| Shaders read position at location 0, color at 1 and texture coordinates at 2. | |
|
inline |
Shaders read position at location 0, color at 1 and texture coordinates at 2.
Definition at line 62 of file rhi_vertex.h.
References RHI_VERTEX_BUFFER_LAYOUT_DESC::attributes, FLOAT16X2, FLOAT32X2, RHI_VERTEX_BUFFER_LAYOUT_DESC::stepMode, RHI_VERTEX_BUFFER_LAYOUT_DESC::stride, UINT8X4_NORM, and VERTEX.
Referenced by RHI_GAL_PIPELINES::createFullscreenPipeline(), RHI_GAL_PIPELINES::createInstancedPipeline(), and RHI_GAL_PIPELINES::Initialize().