Creates a placement for a 3D texture.
public:
HRESULT CreatePlacementTexture3D(
const D3D11_TEXTURE3D_DESC *pDesc,
UINT TileModeIndex,
UINT Pitch,
void *pVirtualAddress,
ID3D11Texture3D **ppTexture3D
)
pDesc
Type: D3D11_TEXTURE3D_DESC *
[in] The description of the texture, as a pointer to D3D11_TEXTURE3D_DESC.
TileModeIndex
Type: UINT
[in] The tile mode index.
Pitch
Type: UINT
[in] The pitch.
pVirtualAddress
Type: void *
[in] The CPU virtual address.
ppTexture3D
Type: ID3D11Texture3D **
[out, optional] The texture, as a pointer to pointer to ID3D11Texture3D.
Type: HRESULT
One of the Direct3D 11 return codes.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.