Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | 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>

Public Member Functions

 DX11ConstantsMapper ()=default
 
 ~DX11ConstantsMapper ()=default
 

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. More...
 
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. More...
 
static size_t BytesPerPixel (DXGI_FORMAT fmt)
 

Detailed Description

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

Constructor & Destructor Documentation

DX11ConstantsMapper::DX11ConstantsMapper ( )
default
DX11ConstantsMapper::~DX11ConstantsMapper ( )
default

Member Function Documentation

size_t DX11ConstantsMapper::BitsPerPixel ( DXGI_FORMAT  fmt)
static

Zwraca liczbę bitów na pixel danego formatu.

static size_t DX11ConstantsMapper::BytesPerPixel ( DXGI_FORMAT  fmt)
inlinestatic
ResourceFormat DX11ConstantsMapper::ConvertBack ( DXGI_FORMAT  nativeFormat)
static

Przeprowadza odwrotną konwersję z natywnego formatu DirectXa do ResourceFormat.

static DXGI_FORMAT DX11ConstantsMapper::ConvertDepthOnly ( DepthStencilFormat  format)
inlinestatic
static D3D11_DSV_DIMENSION DX11ConstantsMapper::ConvertDSV ( TextureType  texType)
inlinestatic
static D3D11_SRV_DIMENSION DX11ConstantsMapper::ConvertSRV ( TextureType  texType)
inlinestatic
static DXGI_FORMAT DX11ConstantsMapper::ConvertStencilOnly ( DepthStencilFormat  format)
inlinestatic
static DXGI_FORMAT DX11ConstantsMapper::ConvertTypeless ( DepthStencilFormat  format)
inlinestatic
static D3D11_USAGE DX11ConstantsMapper::Get ( ResourceUsage  usage)
inlinestatic
static DXGI_FORMAT DX11ConstantsMapper::Get ( ResourceFormat  format)
inlinestatic
static D3D_PRIMITIVE_TOPOLOGY DX11ConstantsMapper::Get ( PrimitiveTopology  topology)
inlinestatic
static D3D11_BIND_FLAG DX11ConstantsMapper::Get ( ResourceBinding  binding)
inlinestatic
static D3D11_RTV_DIMENSION DX11ConstantsMapper::Get ( TextureType  texType)
inlinestatic
static DXGI_FORMAT DX11ConstantsMapper::Get ( DepthStencilFormat  format)
inlinestatic
static D3D11_FILL_MODE DX11ConstantsMapper::Get ( FillMode  mode)
inlinestatic
static D3D11_CULL_MODE DX11ConstantsMapper::Get ( CullMode  mode)
inlinestatic
static D3D11_BLEND DX11ConstantsMapper::Get ( BlendFactor  factor)
inlinestatic
static D3D11_BLEND_OP DX11ConstantsMapper::Get ( BlendOperation  op)
inlinestatic

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