Toast Engine
Loading...
Searching...
No Matches
renderer::VoxelInstanceGpu Struct Reference

Mirrors voxel_dda.slang VoxelInstance. More...

#include <voxel_gpu_storage.hpp>

Public Attributes

glm::mat4 voxel_to_world {1.0f}
glm::mat4 world_to_voxel {1.0f}
glm::mat4 previous_voxel_to_world {1.0f}
uint32_t record_index = 0
uint32_t pad0 = 0
uint32_t flags = 0
uint32_t cell_base = 0
 First global coarse cell of this instance in the VoxelPass cell cull.

Detailed Description

Mirrors voxel_dda.slang VoxelInstance.


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