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,
flags: Option<u32>,
},
HitGroup(HitGroup),
}Expand description
A state object subobject of a ray tracing library, as the library declares it.
Variants§
StateObjectConfig
The state object’s flags (D3D12’s D3D12_STATE_OBJECT_FLAGS).
GlobalRootSignature
A root signature as D3D serialised it, for every program of the state object.
LocalRootSignature
A root signature as D3D serialised it, for the programs an association names.
ExportsAssociation
The exports (programs and hit groups, by name) another subobject applies to.
Fields
ShaderConfig
The largest payload and hit attributes the state object’s programs use.
Fields
PipelineConfig
The deepest TraceRay recursion, and the pipeline flags where the library states them.
Fields
HitGroup(HitGroup)
A hit group.
Trait Implementations§
impl Eq for Subobject
Source§impl Ord for Subobject
impl Ord for Subobject
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Subobject
impl PartialOrd for Subobject
Source§impl Serialize for Subobject
impl Serialize for Subobject
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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