|
Foundation
|
Caller-facing scene instance for GPUScene::BeginScene / GPUScene::EndScene. More...
#include <GPUScene.hpp>
Public Attributes | |
| GeometryHandle | geometry {} |
| float3 | transform {0, 0, 0} |
| quat | rotation {0, 0, 0, 1} |
| float3 | scale {1, 1, 1} |
| uint32_t | materialIndex {0} |
Caller-facing scene instance for GPUScene::BeginScene / GPUScene::EndScene.
The caller supplies a transform/material plus the bound GeometryHandle; EndScene resolves the GPU-owned primitive-buffer offset and geometry type from the handle, so callers never touch GSInstance::resourceOffset / type.
| GeometryHandle InstanceDesc::geometry {} |
| uint32_t InstanceDesc::materialIndex {0} |
| quat InstanceDesc::rotation {0, 0, 0, 1} |
| float3 InstanceDesc::scale {1, 1, 1} |
| float3 InstanceDesc::transform {0, 0, 0} |