tk11::D3D11_Texture2D_Desc Class Reference
[Textures]
Direct3D 11 2D texture description.
More...
#include <texture.hpp>
List of all members.
Public Member Functions |
| D3D11_Texture2D_Desc (UINT width, UINT height, DXGI_FORMAT format) |
| Constructor.
|
Detailed Description
Direct3D 11 2D texture description.
- See also:
- create_texture_2d
Constructor & Destructor Documentation
tk11::D3D11_Texture2D_Desc::D3D11_Texture2D_Desc |
( |
UINT |
width, |
|
|
UINT |
height, |
|
|
DXGI_FORMAT |
format | |
|
) |
| | |
Constructor.
- Parameters:
-
| width | Width of texture (in pixels) |
| height | Height of texture (in pixels) |
| format | Format of texture (e.g. DXGI_FORMAT_R32G32B32_FLOAT) |
- Postcondition:
- this->Width == width
-
this->Height == height
-
this->MipLevels == 1
-
this->ArraySize == 1
-
this->Format == format
-
this->SampleDesc.Count == 1
-
this->SampleDesc.Quality == 0
-
this->Usage == D3D11_USAGE_DEFAULT
-
this->BindFlags == D3D11_BIND_SHADER_RESOURCE
-
this->CPUAccessFlags == 0
-
this->MiscFlags == 0;
The documentation for this class was generated from the following file: