Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Rendering::GpuBuffers::MeshPrimitiveRenderData Struct Reference

Per-primitive material and lighting indices for fragment shaders. More...

#include <RenderData.h>

Public Attributes

uint32_t colorTextureId
 Texture descriptor index for legacy color-texture paths.
uint32_t materialId
 Index into the material buffer for this primitive's pipeline.
uint32_t shProbeIndex = 0
 Index into the SH probe buffer. Zero selects the fallback probe.
uint32_t _padding = 0
 Padding required by the shader layout.

Detailed Description

Per-primitive material and lighting indices for fragment shaders.

Definition at line 180 of file RenderData.h.

Member Data Documentation

◆ _padding

uint32_t Engine::Rendering::GpuBuffers::MeshPrimitiveRenderData::_padding = 0

Padding required by the shader layout.

Definition at line 185 of file RenderData.h.

◆ colorTextureId

uint32_t Engine::Rendering::GpuBuffers::MeshPrimitiveRenderData::colorTextureId

Texture descriptor index for legacy color-texture paths.

Definition at line 182 of file RenderData.h.

◆ materialId

uint32_t Engine::Rendering::GpuBuffers::MeshPrimitiveRenderData::materialId

Index into the material buffer for this primitive's pipeline.

Definition at line 183 of file RenderData.h.

◆ shProbeIndex

uint32_t Engine::Rendering::GpuBuffers::MeshPrimitiveRenderData::shProbeIndex = 0

Index into the SH probe buffer. Zero selects the fallback probe.

Definition at line 184 of file RenderData.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Renderer/RenderData.h