Sleeping Wombat Graphic API  1.010
swGraphicAPI
Static Public Member Functions | List of all members
DX11ConstantsMapper Class Reference

Klasa służy do mapowania stałych z wartości silnikowych do DirectX 11. More...

#include <DX11ConstantsMapper.h>

Static Public Member Functions

static D3D11_USAGE Get (ResourceUsage usage)
 
static DXGI_FORMAT Get (ResourceFormat format)
 
static D3D_PRIMITIVE_TOPOLOGY Get (PrimitiveTopology topology)
 
static D3D11_BIND_FLAG Get (ResourceBinding binding)
 
static D3D11_RTV_DIMENSION Get (TextureType texType)
 
static DXGI_FORMAT Get (DepthStencilFormat format)
 
static D3D11_FILL_MODE Get (FillMode mode)
 
static D3D11_CULL_MODE Get (CullMode mode)
 
static D3D11_BLEND Get (BlendFactor factor)
 
static D3D11_BLEND_OP Get (BlendOperation op)
 
static ResourceFormat ConvertBack (DXGI_FORMAT)
 Przeprowadza odwrotną konwersję z natywnego formatu DirectXa do ResourceFormat.
 
static D3D11_SRV_DIMENSION ConvertSRV (TextureType texType)
 
static D3D11_DSV_DIMENSION ConvertDSV (TextureType texType)
 
static DXGI_FORMAT ConvertTypeless (DepthStencilFormat format)
 
static DXGI_FORMAT ConvertDepthOnly (DepthStencilFormat format)
 
static DXGI_FORMAT ConvertStencilOnly (DepthStencilFormat format)
 
static size_t BitsPerPixel (DXGI_FORMAT fmt)
 Zwraca liczbę bitów na pixel danego formatu.
 
static size_t BytesPerPixel (DXGI_FORMAT fmt)
 

Detailed Description

Klasa służy do mapowania stałych z wartości silnikowych do DirectX 11.


The documentation for this class was generated from the following files: