Direct3D 11 Render Target Utilities. More...
#include "d3d.hpp"
Go to the source code of this file.
Classes | |
class | tk11::D3D11_Depth_Stencil_View_Desc |
Direct3D 11 Depth/stencil view description. More... | |
class | tk11::Render_Target_Binding |
Automatic binding of a render target. More... | |
Namespaces | |
namespace | tk11 |
Functions | |
ID3D11RenderTargetView_ptr | tk11::create_render_target_view (ID3D11Device_ptr device, ID3D11Texture2D_ptr texture) |
Create a render target view from a texture. | |
ID3D11DepthStencilView_ptr | tk11::create_depth_stencil_view (ID3D11Device_ptr device, ID3D11Texture2D_ptr texture) |
Create a depth/stencil view from a texture. | |
ID3D11DepthStencilView_ptr | tk11::create_depth_stencil_view (ID3D11Device_ptr device, ID3D11Texture2D_ptr texture, const D3D11_DEPTH_STENCIL_VIEW_DESC &desc) |
Create a depth/stencil view with specific attributes from a texture. | |
ID3D11DepthStencilView_ptr | tk11::create_depth_stencil_view_2d (ID3D11Device_ptr device, unsigned int width, unsigned int height, DXGI_FORMAT format=DXGI_FORMAT_D32_FLOAT) |
Create a 2D depth/stencil view with typical parameters. |
Direct3D 11 Render Target Utilities.