pub trait ID3D11ShaderReflection_Impl: Sized {
Show 19 methods
// Required methods
fn GetDesc(&self, pdesc: *mut D3D11_SHADER_DESC) -> Result<()>;
fn GetConstantBufferByIndex(
&self,
index: u32,
) -> Option<ID3D11ShaderReflectionConstantBuffer>;
fn GetConstantBufferByName(
&self,
name: &PCSTR,
) -> Option<ID3D11ShaderReflectionConstantBuffer>;
fn GetResourceBindingDesc(
&self,
resourceindex: u32,
pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC,
) -> Result<()>;
fn GetInputParameterDesc(
&self,
parameterindex: u32,
pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC,
) -> Result<()>;
fn GetOutputParameterDesc(
&self,
parameterindex: u32,
pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC,
) -> Result<()>;
fn GetPatchConstantParameterDesc(
&self,
parameterindex: u32,
pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC,
) -> Result<()>;
fn GetVariableByName(
&self,
name: &PCSTR,
) -> Option<ID3D11ShaderReflectionVariable>;
fn GetResourceBindingDescByName(
&self,
name: &PCSTR,
pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC,
) -> Result<()>;
fn GetMovInstructionCount(&self) -> u32;
fn GetMovcInstructionCount(&self) -> u32;
fn GetConversionInstructionCount(&self) -> u32;
fn GetBitwiseInstructionCount(&self) -> u32;
fn GetGSInputPrimitive(&self) -> D3D_PRIMITIVE;
fn IsSampleFrequencyShader(&self) -> BOOL;
fn GetNumInterfaceSlots(&self) -> u32;
fn GetMinFeatureLevel(&self) -> Result<D3D_FEATURE_LEVEL>;
fn GetThreadGroupSize(
&self,
psizex: *mut u32,
psizey: *mut u32,
psizez: *mut u32,
) -> u32;
fn GetRequiresFlags(&self) -> u64;
}
Required Methods§
fn GetDesc(&self, pdesc: *mut D3D11_SHADER_DESC) -> Result<()>
fn GetConstantBufferByIndex( &self, index: u32, ) -> Option<ID3D11ShaderReflectionConstantBuffer>
fn GetConstantBufferByName( &self, name: &PCSTR, ) -> Option<ID3D11ShaderReflectionConstantBuffer>
fn GetResourceBindingDesc( &self, resourceindex: u32, pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC, ) -> Result<()>
fn GetInputParameterDesc( &self, parameterindex: u32, pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC, ) -> Result<()>
fn GetOutputParameterDesc( &self, parameterindex: u32, pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC, ) -> Result<()>
fn GetPatchConstantParameterDesc( &self, parameterindex: u32, pdesc: *mut D3D11_SIGNATURE_PARAMETER_DESC, ) -> Result<()>
fn GetVariableByName( &self, name: &PCSTR, ) -> Option<ID3D11ShaderReflectionVariable>
fn GetResourceBindingDescByName( &self, name: &PCSTR, pdesc: *mut D3D11_SHADER_INPUT_BIND_DESC, ) -> Result<()>
fn GetMovInstructionCount(&self) -> u32
fn GetMovcInstructionCount(&self) -> u32
fn GetConversionInstructionCount(&self) -> u32
fn GetBitwiseInstructionCount(&self) -> u32
fn GetGSInputPrimitive(&self) -> D3D_PRIMITIVE
fn IsSampleFrequencyShader(&self) -> BOOL
fn GetNumInterfaceSlots(&self) -> u32
fn GetMinFeatureLevel(&self) -> Result<D3D_FEATURE_LEVEL>
fn GetThreadGroupSize( &self, psizex: *mut u32, psizey: *mut u32, psizez: *mut u32, ) -> u32
fn GetRequiresFlags(&self) -> u64
Object Safety§
This trait is not object safe.