#[repr(C)]
pub struct D3D12_SHADER_DESC {
Show 38 fields pub Version: u32, pub Creator: PCSTR, pub Flags: u32, pub ConstantBuffers: u32, pub BoundResources: u32, pub InputParameters: u32, pub OutputParameters: u32, pub InstructionCount: u32, pub TempRegisterCount: u32, pub TempArrayCount: u32, pub DefCount: u32, pub DclCount: u32, pub TextureNormalInstructions: u32, pub TextureLoadInstructions: u32, pub TextureCompInstructions: u32, pub TextureBiasInstructions: u32, pub TextureGradientInstructions: u32, pub FloatInstructionCount: u32, pub IntInstructionCount: u32, pub UintInstructionCount: u32, pub StaticFlowControlCount: u32, pub DynamicFlowControlCount: u32, pub MacroInstructionCount: u32, pub ArrayInstructionCount: u32, pub CutInstructionCount: u32, pub EmitInstructionCount: u32, pub GSOutputTopology: D3D_PRIMITIVE_TOPOLOGY, pub GSMaxOutputVertexCount: u32, pub InputPrimitive: D3D_PRIMITIVE, pub PatchConstantParameters: u32, pub cGSInstanceCount: u32, pub cControlPoints: u32, pub HSOutputPrimitive: D3D_TESSELLATOR_OUTPUT_PRIMITIVE, pub HSPartitioning: D3D_TESSELLATOR_PARTITIONING, pub TessellatorDomain: D3D_TESSELLATOR_DOMAIN, pub cBarrierInstructions: u32, pub cInterlockedInstructions: u32, pub cTextureStoreInstructions: u32,
}
Expand description

Required features: "Win32_Graphics_Direct3D12", "Win32_Graphics_Direct3D"

Fields

Version: u32Creator: PCSTRFlags: u32ConstantBuffers: u32BoundResources: u32InputParameters: u32OutputParameters: u32InstructionCount: u32TempRegisterCount: u32TempArrayCount: u32DefCount: u32DclCount: u32TextureNormalInstructions: u32TextureLoadInstructions: u32TextureCompInstructions: u32TextureBiasInstructions: u32TextureGradientInstructions: u32FloatInstructionCount: u32IntInstructionCount: u32UintInstructionCount: u32StaticFlowControlCount: u32DynamicFlowControlCount: u32MacroInstructionCount: u32ArrayInstructionCount: u32CutInstructionCount: u32EmitInstructionCount: u32GSOutputTopology: D3D_PRIMITIVE_TOPOLOGYGSMaxOutputVertexCount: u32InputPrimitive: D3D_PRIMITIVEPatchConstantParameters: u32cGSInstanceCount: u32cControlPoints: u32HSOutputPrimitive: D3D_TESSELLATOR_OUTPUT_PRIMITIVEHSPartitioning: D3D_TESSELLATOR_PARTITIONINGTessellatorDomain: D3D_TESSELLATOR_DOMAINcBarrierInstructions: u32cInterlockedInstructions: u32cTextureStoreInstructions: u32

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.