pub enum Subobject {
StateObjectConfig {
name: String,
flags: u32,
},
GlobalRootSignature {
name: String,
signature: Vec<u8>,
},
LocalRootSignature {
name: String,
signature: Vec<u8>,
},
ExportsAssociation {
name: String,
subobject: String,
exports: Vec<String>,
},
ShaderConfig {
name: String,
max_payload_bytes: u32,
max_attribute_bytes: u32,
},
PipelineConfig {
name: String,
max_recursion_depth: u32,
},
HitGroup {
name: String,
kind: u32,
any_hit: Option<String>,
closest_hit: Option<String>,
intersection: Option<String>,
},
PipelineConfig1 {
name: String,
max_recursion_depth: u32,
flags: u32,
},
}Expand description
A subobject record of the table, by its kind, with its stored numbers. A string reference that is none (all ones,
or an empty string) is None.
Variants§
StateObjectConfig
Kind 0: the state object’s flags (D3D12_STATE_OBJECT_FLAGS).
GlobalRootSignature
Kind 1: a root signature as D3D serialised it, its bytes from the raw bytes part.
LocalRootSignature
Kind 2: a local root signature, as kind 1.
ExportsAssociation
Kind 8: the subobject named, associated with these exports.
Fields
ShaderConfig
Kind 9: the largest payload and hit attributes.
Fields
PipelineConfig
Kind 10: the deepest recursion.
HitGroup
Kind 11: a hit group; kind is its D3D12_HIT_GROUP_TYPE (0 triangles, 1 procedural primitives).
Fields
PipelineConfig1
Kind 12: the deepest recursion and the pipeline flags (D3D12_RAYTRACING_PIPELINE_FLAGS).
Trait Implementations§
impl Eq for Subobject
impl StructuralPartialEq for Subobject
Auto Trait Implementations§
impl Forget for Subobject
impl Freeze for Subobject
impl RefUnwindSafe for Subobject
impl Send for Subobject
impl Sync for Subobject
impl Unpin for Subobject
impl UnsafeUnpin for Subobject
impl UnwindSafe for Subobject
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more