pub trait ID3D10ShaderReflection_Impl: Sized {
// 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<()>;
}
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<()>
Object Safety§
This trait is not object safe.