Struct asche::AccelerationStructure [−][src]
pub struct AccelerationStructure { pub raw: AccelerationStructureKHR, // some fields omitted }
Expand description
Wraps an acceleration structure.
Fields
raw: AccelerationStructureKHR
The raw Vulkan acceleration structure.
Implementations
Query an address of a acceleration structure. Vulkan Manual Page
pub fn write_acceleration_structures_properties(
&self,
query_type: QueryType,
data: &[u8],
stride: usize
) -> Result<(), AscheError>
pub fn write_acceleration_structures_properties(
&self,
query_type: QueryType,
data: &[u8],
stride: usize
) -> Result<(), AscheError>
Query acceleration structure meta-data on the host. Vulkan Manual Page