|
Foundation
|
GPUScene-owned, caller-filled spans for the instance/material/light tables, plus their ring-buffer base offsets. More...
#include <GPUScene.hpp>
Public Attributes | |
| Span< InstanceDesc > | instances |
| Span< GSMaterial > | materials |
| Span< GSLight > | lights |
| uint32_t | firstInstance {0} |
| uint32_t | firstMaterial {0} |
| uint32_t | firstLight {0} |
| uint32_t | firstLightAliasTable {0} |
GPUScene-owned, caller-filled spans for the instance/material/light tables, plus their ring-buffer base offsets.
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. | uint32_t GPUScene::GPUSceneTables::firstInstance {0} |
| uint32_t GPUScene::GPUSceneTables::firstLight {0} |
| uint32_t GPUScene::GPUSceneTables::firstLightAliasTable {0} |
| uint32_t GPUScene::GPUSceneTables::firstMaterial {0} |
| Span<InstanceDesc> GPUScene::GPUSceneTables::instances |
| Span<GSMaterial> GPUScene::GPUSceneTables::materials |