Creates a placement renderable 2D texture.
public:
HRESULT CreatePlacementRenderableTexture2D(
const D3D11_TEXTURE2D_DESC *pDesc,
UINT TileModeIndex,
UINT Pitch,
const D3D11X_RENDERABLE_TEXTURE_ADDRESSES *pAddresses,
ID3D11Texture2D **ppTexture2D
)
pDesc
Type: D3D11_TEXTURE2D_DESC *
[in] Description of a 2D texture, as a pointer to a D3D11_TEXTURE2D_DESC structure.
TileModeIndex
Type: UINT
[in] The tile mode index.
Pitch
Type: UINT
[in] The pitch.
pAddresses
Type: D3D11X_RENDERABLE_TEXTURE_ADDRESSES *
[in] The addresses, as a pointer to a D3D11X_RENDERABLE_TEXTURE_ADDRESSES structure.
ppTexture2D
Type: ID3D11Texture2D **
[out, optional] The texture, as a pointer to a pointer to an ID3D11Texture2D.
Type: HRESULT
One of the Direct3D 11 return codes.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.