Foundation
Loading...
Searching...
No Matches
Public Attributes | List of all members
GPUScene::GPUSceneTables Struct Reference

GPUScene-owned, caller-filled spans for the instance/material/light tables, plus their ring-buffer base offsets. More...

#include <GPUScene.hpp>

Public Attributes

Span< InstanceDescinstances
 
Span< GSMaterialmaterials
 
Span< GSLightlights
 
uint32_t firstInstance {0}
 
uint32_t firstMaterial {0}
 
uint32_t firstLight {0}
 
uint32_t firstLightAliasTable {0}
 

Detailed Description

GPUScene-owned, caller-filled spans for the instance/material/light tables, plus their ring-buffer base offsets.

Note
instances is a caller-facing InstanceDesc scratch span (not GPU memory); EndScene translates it into the GSInstance ring. materials/lights are mapped GPU ring memory filled in place.

Member Data Documentation

◆ firstInstance

uint32_t GPUScene::GPUSceneTables::firstInstance {0}

◆ firstLight

uint32_t GPUScene::GPUSceneTables::firstLight {0}

◆ firstLightAliasTable

uint32_t GPUScene::GPUSceneTables::firstLightAliasTable {0}

◆ firstMaterial

uint32_t GPUScene::GPUSceneTables::firstMaterial {0}

◆ instances

Span<InstanceDesc> GPUScene::GPUSceneTables::instances

◆ lights

Span<GSLight> GPUScene::GPUSceneTables::lights

◆ materials

Span<GSMaterial> GPUScene::GPUSceneTables::materials

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