CD3D11_TEXTURE3D_DESC structure (d3d11.h)
Représente une texture 3D et fournit des méthodes pratiques pour créer des textures 3D.
Syntaxe
struct CD3D11_TEXTURE3D_DESC : D3D11_TEXTURE3D_DESC {
void CD3D11_TEXTURE3D_DESC();
void CD3D11_TEXTURE3D_DESC(
const D3D11_TEXTURE3D_DESC & o
);
void CD3D11_TEXTURE3D_DESC(
DXGI_FORMAT format,
UINT width,
UINT height,
UINT depth,
UINT mipLevels,
UINT bindFlags,
D3D11_USAGE usage,
UINT cpuaccessFlags,
UINT miscFlags
);
void ~CD3D11_TEXTURE3D_DESC();
};
Héritage
La structure CD3D11_TEXTURE3D_DESC implémente D3D11_TEXTURE3D_DESC.
Membres
Instancie une nouvelle instance d’une structure de CD3D11_TEXTURE3D_DESC non initialisée.
void CD3D11_TEXTURE3D_DESC( const D3D11_TEXTURE3D_DESC & o)
Instancie une nouvelle instance d’une structure CD3D11_TEXTURE3D_DESC initialisée avec une structure D3D11_TEXTURE3D_DESC.
Instancie une nouvelle instance d’une structure CD3D11_TEXTURE3D_DESC initialisée avec des valeurs D3D11_TEXTURE3D_DESC.
Détruit un instance d’une structure CD3D11_TEXTURE3D_DESC.
Remarques
Voici comment D3D11.h définit CD3D11_TEXTURE3D_DESC :
struct CD3D11_TEXTURE3D_DESC : public D3D11_TEXTURE3D_DESC { CD3D11_TEXTURE3D_DESC() {} explicit CD3D11_TEXTURE3D_DESC( const D3D11_TEXTURE3D_DESC& o ) : D3D11_TEXTURE3D_DESC( o ) {} explicit CD3D11_TEXTURE3D_DESC( DXGI_FORMAT format, UINT width, UINT height, UINT depth, UINT mipLevels = 0, UINT bindFlags = D3D11_BIND_SHADER_RESOURCE, D3D11_USAGE usage = D3D11_USAGE_DEFAULT, UINT cpuaccessFlags = 0, UINT miscFlags = 0 ) { Width = width; Height = height; Depth = depth; MipLevels = mipLevels; Format = format; Usage = usage; BindFlags = bindFlags; CPUAccessFlags = cpuaccessFlags; MiscFlags = miscFlags; } ~CD3D11_TEXTURE3D_DESC() {} operator const D3D11_TEXTURE3D_DESC&() const { return *this; } }; |
Configuration requise
Client minimal pris en charge | Windows 7 [applications de bureau | Applications UWP] |
Serveur minimal pris en charge | Windows Server 2008 R2 [applications de bureau | Applications UWP] |
En-tête | d3d11.h |