ID3D11ShaderResourceView::SetFormatX Method

Sets the format for the shader resource view, for Xbox.

Syntax

public:
HRESULT SetFormatX(
         const D3D11X_SRV_FORMAT *pFormat
)  

Parameters

pFormat
Type: D3D11X_SRV_FORMAT *

[in] The format, as a pointer to a D3D11X_SRV_FORMAT structure.

Return value

Type: HRESULT 

One of the Direct3D 11 return codes.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

ID3D11ShaderResourceView

ID3D11ShaderResourceView Members