CD3D11_TEXTURE3D_DESC1 structure (d3d11_3.h)
Describes a 3D texture.
Syntax
struct CD3D11_TEXTURE3D_DESC1 : D3D11_TEXTURE3D_DESC1 {
void CD3D11_TEXTURE3D_DESC1();
void CD3D11_TEXTURE3D_DESC1(
const D3D11_TEXTURE3D_DESC1 & o
);
void CD3D11_TEXTURE3D_DESC1(
DXGI_FORMAT format,
UINT width,
UINT height,
UINT depth,
UINT mipLevels,
UINT bindFlags,
D3D11_USAGE usage,
UINT cpuaccessFlags,
UINT miscFlags,
D3D11_TEXTURE_LAYOUT textureLayout
);
void CD3D11_TEXTURE3D_DESC1(
const D3D11_TEXTURE3D_DESC & desc,
D3D11_TEXTURE_LAYOUT textureLayout
);
void ~CD3D11_TEXTURE3D_DESC1();
};
Inheritance
The CD3D11_TEXTURE3D_DESC1 structure implements D3D11_TEXTURE3D_DESC1.
Members
void CD3D11_TEXTURE3D_DESC1()
TBD
void CD3D11_TEXTURE3D_DESC1( const D3D11_TEXTURE3D_DESC1 & o)
void CD3D11_TEXTURE3D_DESC1( DXGI_FORMAT format, UINT width, UINT height, UINT depth, UINT mipLevels, UINT bindFlags, D3D11_USAGE usage, UINT cpuaccessFlags, UINT miscFlags, D3D11_TEXTURE_LAYOUT textureLayout)
void CD3D11_TEXTURE3D_DESC1( const D3D11_TEXTURE3D_DESC & desc, D3D11_TEXTURE_LAYOUT textureLayout)
void ~CD3D11_TEXTURE3D_DESC1()
TBD
Remarks
This structure is used in a call to ID3D11Device3::CreateTexture3D1.
In addition to this structure, you can also use the CD3D11_TEXTURE3D_DESC1 derived structure, which is defined in D3D11_3.h and behaves like an inherited class, to help create a texture description.
The device restricts the size of subsampled, block compressed, and bit format resources to be multiples of sizes specific to each format.
The texture size range is determined by the feature level at which you create the device and not the Microsoft Direct3D interface version. For example, if you use Microsoft Direct3D 10 hardware at feature level 10 (D3D_FEATURE_LEVEL_10_0) and call D3D11CreateDevice to create an ID3D11Device, you must constrain the maximum texture size to D3D10_REQ_TEXTURE3D_U_V_OR_W_DIMENSION (2048) when you create your 3D texture.
Requirements
Requirement | Value |
---|---|
Header | d3d11_3.h |