Type Alias wgpu::CreateTlasDescriptor
source · pub type CreateTlasDescriptor<'a> = CreateTlasDescriptor<Label<'a>>;
Expand description
Descriptor to create top level acceleration structures.
Aliased Type§
struct CreateTlasDescriptor<'a> {
pub label: Option<&'a str>,
pub max_instances: u32,
pub flags: AccelerationStructureFlags,
pub update_mode: AccelerationStructureUpdateMode,
}
Fields§
§label: Option<&'a str>
Label for the top level acceleration structure.
max_instances: u32
Number of instances that can be stored in the acceleration structure.
flags: AccelerationStructureFlags
Flags for the bottom level acceleration structure.
update_mode: AccelerationStructureUpdateMode
Update mode for the bottom level acceleration structure.