ID3D11DeviceX::CreatePlacementTexture1D Method

Creates a placement for a 1D texture.

Syntax

public:
HRESULT CreatePlacementTexture1D(
         const D3D11_TEXTURE1D_DESC *pDesc,
         UINT TileModeIndex,
         UINT Pitch,
         void *pVirtualAddress,
         ID3D11Texture1D **ppTexture1D
)  

Parameters

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.

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

Reference

ID3D11DeviceX Interface

ID3D11DeviceX Members