CreateShaderResourceView Method
In This Topic
HRESULT ID3D11Device::CreateShaderResourceView([In] ID3D11Resource* pResource,[In, Optional] const D3D11_SHADER_RESOURCE_VIEW_DESC* pDesc,[Out, Fast] ID3D11ShaderResourceView** ppSRView)
Syntax
'Declaration
Public Function CreateShaderResourceView( _
ByVal As Resource, _
ByVal As System.Nullable(Of ShaderResourceViewDescription) _
) As ShaderResourceView
public ShaderResourceView CreateShaderResourceView(
Resource ,
System.Nullable<ShaderResourceViewDescription>
)
Parameters
- resourceRef
- descRef
See Also