pub trait ID3D12FunctionReflection_Impl: Sized {
// Required methods
fn GetDesc(&self, pdesc: *mut D3D12_FUNCTION_DESC) -> Result<()>;
fn GetConstantBufferByIndex(
&self,
bufferindex: u32,
) -> Option<ID3D12ShaderReflectionConstantBuffer>;
fn GetConstantBufferByName(
&self,
name: &PCSTR,
) -> Option<ID3D12ShaderReflectionConstantBuffer>;
fn GetResourceBindingDesc(
&self,
resourceindex: u32,
pdesc: *mut D3D12_SHADER_INPUT_BIND_DESC,
) -> Result<()>;
fn GetVariableByName(
&self,
name: &PCSTR,
) -> Option<ID3D12ShaderReflectionVariable>;
fn GetResourceBindingDescByName(
&self,
name: &PCSTR,
pdesc: *mut D3D12_SHADER_INPUT_BIND_DESC,
) -> Result<()>;
fn GetFunctionParameter(
&self,
parameterindex: i32,
) -> Option<ID3D12FunctionParameterReflection>;
}
Required Methods§
fn GetDesc(&self, pdesc: *mut D3D12_FUNCTION_DESC) -> Result<()>
fn GetConstantBufferByIndex( &self, bufferindex: u32, ) -> Option<ID3D12ShaderReflectionConstantBuffer>
fn GetConstantBufferByName( &self, name: &PCSTR, ) -> Option<ID3D12ShaderReflectionConstantBuffer>
fn GetResourceBindingDesc( &self, resourceindex: u32, pdesc: *mut D3D12_SHADER_INPUT_BIND_DESC, ) -> Result<()>
fn GetVariableByName( &self, name: &PCSTR, ) -> Option<ID3D12ShaderReflectionVariable>
fn GetResourceBindingDescByName( &self, name: &PCSTR, pdesc: *mut D3D12_SHADER_INPUT_BIND_DESC, ) -> Result<()>
fn GetFunctionParameter( &self, parameterindex: i32, ) -> Option<ID3D12FunctionParameterReflection>
Object Safety§
This trait is not object safe.