pub trait ID3D10ShaderReflection1_Impl: Sized {
Show 15 methods
// Required methods
fn GetDesc(&self, pdesc: *mut D3D10_SHADER_DESC) -> Result<()>;
fn GetConstantBufferByIndex(
&self,
index: u32
) -> Option<ID3D10ShaderReflectionConstantBuffer>;
fn GetConstantBufferByName(
&self,
name: &PCSTR
) -> Option<ID3D10ShaderReflectionConstantBuffer>;
fn GetResourceBindingDesc(
&self,
resourceindex: u32,
pdesc: *mut D3D10_SHADER_INPUT_BIND_DESC
) -> Result<()>;
fn GetInputParameterDesc(
&self,
parameterindex: u32,
pdesc: *mut D3D10_SIGNATURE_PARAMETER_DESC
) -> Result<()>;
fn GetOutputParameterDesc(
&self,
parameterindex: u32,
pdesc: *mut D3D10_SIGNATURE_PARAMETER_DESC
) -> Result<()>;
fn GetVariableByName(
&self,
name: &PCSTR
) -> Option<ID3D10ShaderReflectionVariable>;
fn GetResourceBindingDescByName(
&self,
name: &PCSTR,
pdesc: *mut D3D10_SHADER_INPUT_BIND_DESC
) -> Result<()>;
fn GetMovInstructionCount(&self) -> Result<u32>;
fn GetMovcInstructionCount(&self) -> Result<u32>;
fn GetConversionInstructionCount(&self) -> Result<u32>;
fn GetBitwiseInstructionCount(&self) -> Result<u32>;
fn GetGSInputPrimitive(&self) -> Result<D3D_PRIMITIVE>;
fn IsLevel9Shader(&self) -> Result<BOOL>;
fn IsSampleFrequencyShader(&self) -> Result<BOOL>;
}
Required Methods§
fn GetDesc(&self, pdesc: *mut D3D10_SHADER_DESC) -> Result<()>
fn GetConstantBufferByIndex( &self, index: u32 ) -> Option<ID3D10ShaderReflectionConstantBuffer>
fn GetConstantBufferByName( &self, name: &PCSTR ) -> Option<ID3D10ShaderReflectionConstantBuffer>
fn GetResourceBindingDesc( &self, resourceindex: u32, pdesc: *mut D3D10_SHADER_INPUT_BIND_DESC ) -> Result<()>
fn GetInputParameterDesc( &self, parameterindex: u32, pdesc: *mut D3D10_SIGNATURE_PARAMETER_DESC ) -> Result<()>
fn GetOutputParameterDesc( &self, parameterindex: u32, pdesc: *mut D3D10_SIGNATURE_PARAMETER_DESC ) -> Result<()>
fn GetVariableByName( &self, name: &PCSTR ) -> Option<ID3D10ShaderReflectionVariable>
fn GetResourceBindingDescByName( &self, name: &PCSTR, pdesc: *mut D3D10_SHADER_INPUT_BIND_DESC ) -> Result<()>
fn GetMovInstructionCount(&self) -> Result<u32>
fn GetMovcInstructionCount(&self) -> Result<u32>
fn GetConversionInstructionCount(&self) -> Result<u32>
fn GetBitwiseInstructionCount(&self) -> Result<u32>
fn GetGSInputPrimitive(&self) -> Result<D3D_PRIMITIVE>
fn IsLevel9Shader(&self) -> Result<BOOL>
fn IsSampleFrequencyShader(&self) -> Result<BOOL>
Object Safety§
This trait is not object safe.