tk11/texture.hpp File Reference

Direct3D 11 texture and shader resource view utilities. More...

#include "d3d.hpp"
Include dependency graph for texture.hpp:

Go to the source code of this file.

Classes

class  tk11::D3D11_Texture2D_Desc
 Direct3D 11 2D texture description. More...

Namespaces

namespace  tk11

Functions

ID3D11Texture1D_ptr tk11::create_texture_1d (ID3D11Device_ptr device, const D3D11_TEXTURE1D_DESC &desc, const D3D11_SUBRESOURCE_DATA &init_data)
 Create 1D texture.
ID3D11Texture1D_ptr tk11::create_texture_1d (ID3D11Device_ptr device, const D3D11_TEXTURE1D_DESC &desc)
 Create uninitialized 1D texture.
ID3D11Texture1D_ptr tk11::create_texture_1d (ID3D11Device_ptr device, UINT width, DXGI_FORMAT format, const void *data, UINT mip_levels=1, D3D11_USAGE usage=D3D11_USAGE_IMMUTABLE, UINT cpu_access_flags=0)
 Create 1D texture with typical parameters.
ID3D11Texture1D_ptr tk11::create_texture_1d (ID3D11Device_ptr device, UINT width, DXGI_FORMAT format, UINT mip_levels=1, D3D11_USAGE usage=D3D11_USAGE_DYNAMIC, UINT cpu_access_flags=D3D11_CPU_ACCESS_WRITE)
 Create uninitialized 1D texture with typical parameters.
ID3D11Texture2D_ptr tk11::create_texture_2d (ID3D11Device_ptr device, const D3D11_TEXTURE2D_DESC &desc, const D3D11_SUBRESOURCE_DATA &init_data)
 Create 2D texture.
ID3D11Texture2D_ptr tk11::create_texture_2d (ID3D11Device_ptr device, const D3D11_TEXTURE2D_DESC &desc)
 Create uninitialized 2D texture.
ID3D11Texture2D_ptr tk11::create_texture_2d (ID3D11Device_ptr device, UINT width, UINT height, DXGI_FORMAT format, const void *data, std::size_t pitch, UINT mip_levels=1, D3D11_USAGE usage=D3D11_USAGE_IMMUTABLE, UINT cpu_access_flags=0)
 Create 2D texture with typical parameters.
ID3D11Texture2D_ptr tk11::create_texture_2d (ID3D11Device_ptr device, UINT width, UINT height, DXGI_FORMAT format, UINT mip_levels=1, D3D11_USAGE usage=D3D11_USAGE_DYNAMIC, UINT cpu_access_flags=D3D11_CPU_ACCESS_WRITE)
 Create uninitialized 2D texture with typical parameters.
ID3D11ShaderResourceView_ptr tk11::create_shader_resource_view (ID3D11Device_ptr device, ID3D11Resource_ptr resource, const D3D11_SHADER_RESOURCE_VIEW_DESC &desc)
 Create shader resource view.
ID3D11ShaderResourceView_ptr tk11::create_shader_resource_view_1d (ID3D11Device_ptr device, ID3D11Texture1D_ptr resource, DXGI_FORMAT format, UINT most_detailed_mip=0, UINT mip_levels=1)
 Create shader resource view of existing 1D texture.
ID3D11ShaderResourceView_ptr tk11::create_shader_resource_view_1d (ID3D11Device_ptr device, const D3D11_TEXTURE1D_DESC &desc, const D3D11_SUBRESOURCE_DATA &init_data, UINT most_detailed_mip=0)
 Create resource view of new 1D texture.
ID3D11ShaderResourceView_ptr tk11::create_shader_resource_view_1d (ID3D11Device_ptr device, UINT width, DXGI_FORMAT format, const void *data, UINT mip_levels=1, D3D11_USAGE usage=D3D11_USAGE_IMMUTABLE, UINT cpu_access_flags=0, UINT most_detailed_mip=0)
 Create resource view of new 1D texture with typical parameters.
ID3D11ShaderResourceView_ptr tk11::create_shader_resource_view_2d (ID3D11Device_ptr device, ID3D11Texture2D_ptr resource, DXGI_FORMAT format, UINT most_detailed_mip=0, UINT mip_levels=1)
 Create shader resource view of existing 2D texture.
ID3D11ShaderResourceView_ptr tk11::create_shader_resource_view_2d (ID3D11Device_ptr device, const D3D11_TEXTURE2D_DESC &desc, const D3D11_SUBRESOURCE_DATA &init_data, UINT most_detailed_mip=0)
 Create resource view of new 2D texture.
ID3D11ShaderResourceView_ptr tk11::create_shader_resource_view_2d (ID3D11Device_ptr device, UINT width, UINT height, DXGI_FORMAT format, const void *data, std::size_t pitch, UINT mip_levels=1, D3D11_USAGE usage=D3D11_USAGE_IMMUTABLE, UINT cpu_access_flags=0, UINT most_detailed_mip=0)
 Create resource view of new 2D texture with typical parameters.

Detailed Description

Direct3D 11 texture and shader resource view utilities.

Author:
Florian Winter
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:22:59 2010 for Tk11 by  doxygen 1.6.3