Type Alias wgpu_core::resource::TlasDescriptor
source · pub type TlasDescriptor<'a> = CreateTlasDescriptor<Label<'a>>;
Aliased Type§
struct TlasDescriptor<'a> {
pub label: Option<Cow<'a, str>>,
pub max_instances: u32,
pub flags: AccelerationStructureFlags,
pub update_mode: AccelerationStructureUpdateMode,
}
Fields§
§label: Option<Cow<'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.