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:
Tk11 Direct3D 11 Toolkit version 0.2 (SourceForge)
Copyright Florian Winter 2010 - 2010. Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Generated on Sun Apr 11 20:23:03 2010 for Tk11 by  doxygen 1.6.3