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