Rise
The Vieneo Province
Loading...
Searching...
No Matches
DirectX Namespace Reference

Namespaces

namespace  DX11
namespace  LoaderHelpers
namespace  ToolKitInternal

Classes

class  com_exception
struct  D3DX_BC1
struct  D3DX_BC2
struct  D3DX_BC3
struct  DDS_HEADER
struct  DDS_HEADER_DXT10
struct  DDS_PIXELFORMAT
struct  handle_closer
class  HDRColorA
class  MapGuard
struct  virtual_deleter

Typedefs

using ScopedHandle = std::unique_ptr<void, handle_closer>
typedef void(*) BC_DECODE(XMVECTOR *pColor, const uint8_t *pBC)
typedef void(*) BC_ENCODE(uint8_t *pDXT, const XMVECTOR *pColor, uint32_t flags)

Enumerations

enum  DDS_RESOURCE_DIMENSION : uint32_t { DDS_DIMENSION_TEXTURE1D = 2 , DDS_DIMENSION_TEXTURE2D = 3 , DDS_DIMENSION_TEXTURE3D = 4 }
enum  DDS_RESOURCE_MISC_FLAG : uint32_t { DDS_RESOURCE_MISC_TEXTURECUBE = 0x4L }
enum  DDS_MISC_FLAGS2 : uint32_t { DDS_MISC_FLAGS2_ALPHA_MODE_MASK = 0x7L }
enum  DDS_ALPHA_MODE : uint32_t {
  DDS_ALPHA_MODE_UNKNOWN = 0 , DDS_ALPHA_MODE_STRAIGHT = 1 , DDS_ALPHA_MODE_PREMULTIPLIED = 2 , DDS_ALPHA_MODE_OPAQUE = 3 ,
  DDS_ALPHA_MODE_CUSTOM = 4 , DDS_ALPHA_MODE_UNKNOWN = 0 , DDS_ALPHA_MODE_STRAIGHT = 1 , DDS_ALPHA_MODE_PREMULTIPLIED = 2 ,
  DDS_ALPHA_MODE_OPAQUE = 3 , DDS_ALPHA_MODE_CUSTOM = 4
}
enum  DDS_ALPHA_MODE : uint32_t {
  DDS_ALPHA_MODE_UNKNOWN = 0 , DDS_ALPHA_MODE_STRAIGHT = 1 , DDS_ALPHA_MODE_PREMULTIPLIED = 2 , DDS_ALPHA_MODE_OPAQUE = 3 ,
  DDS_ALPHA_MODE_CUSTOM = 4 , DDS_ALPHA_MODE_UNKNOWN = 0 , DDS_ALPHA_MODE_STRAIGHT = 1 , DDS_ALPHA_MODE_PREMULTIPLIED = 2 ,
  DDS_ALPHA_MODE_OPAQUE = 3 , DDS_ALPHA_MODE_CUSTOM = 4
}
enum  DDS_LOADER_FLAGS : uint32_t { DDS_LOADER_DEFAULT = 0 , DDS_LOADER_FORCE_SRGB = 0x1 , DDS_LOADER_IGNORE_SRGB = 0x2 , DDS_LOADER_IGNORE_MIPS = 0x20 }
enum  WIC_LOADER_FLAGS : uint32_t {
  WIC_LOADER_DEFAULT = 0 , WIC_LOADER_FORCE_SRGB = 0x1 , WIC_LOADER_IGNORE_SRGB = 0x2 , WIC_LOADER_SRGB_DEFAULT = 0x4 ,
  WIC_LOADER_FIT_POW2 = 0x20 , WIC_LOADER_MAKE_SQUARE = 0x40 , WIC_LOADER_FORCE_RGBA32 = 0x80
}
enum  BC_FLAGS : uint32_t {
  BC_FLAGS_NONE = 0 , BC_FLAGS_DITHER_RGB = 0x10000 , BC_FLAGS_DITHER_A = 0x20000 , BC_FLAGS_UNIFORM = 0x40000 ,
  BC_FLAGS_USE_3SUBSETS = 0x80000 , BC_FLAGS_FORCE_BC7_MODE6 = 0x100000
}

Functions

DIRECTX_TOOLKIT_API HRESULT __cdecl CreateDDSTextureFromMemory (_In_ ID3D11Device *d3dDevice, _In_reads_bytes_(ddsDataSize) const uint8_t *ddsData, _In_ size_t ddsDataSize, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize=0, _Out_opt_ DDS_ALPHA_MODE *alphaMode=nullptr) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateDDSTextureFromFile (_In_ ID3D11Device *d3dDevice, _In_z_ const wchar_t *szFileName, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize=0, _Out_opt_ DDS_ALPHA_MODE *alphaMode=nullptr) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateDDSTextureFromMemory (_In_ ID3D11Device *d3dDevice, _In_opt_ ID3D11DeviceContext *d3dContext, _In_reads_bytes_(ddsDataSize) const uint8_t *ddsData, _In_ size_t ddsDataSize, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize=0, _Out_opt_ DDS_ALPHA_MODE *alphaMode=nullptr) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateDDSTextureFromFile (_In_ ID3D11Device *d3dDevice, _In_opt_ ID3D11DeviceContext *d3dContext, _In_z_ const wchar_t *szFileName, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize=0, _Out_opt_ DDS_ALPHA_MODE *alphaMode=nullptr) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateDDSTextureFromMemoryEx (_In_ ID3D11Device *d3dDevice, _In_reads_bytes_(ddsDataSize) const uint8_t *ddsData, _In_ size_t ddsDataSize, _In_ size_t maxsize, _In_ D3D11_USAGE usage, _In_ unsigned int bindFlags, _In_ unsigned int cpuAccessFlags, _In_ unsigned int miscFlags, _In_ DDS_LOADER_FLAGS loadFlags, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _Out_opt_ DDS_ALPHA_MODE *alphaMode=nullptr) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateDDSTextureFromFileEx (_In_ ID3D11Device *d3dDevice, _In_z_ const wchar_t *szFileName, _In_ size_t maxsize, _In_ D3D11_USAGE usage, _In_ unsigned int bindFlags, _In_ unsigned int cpuAccessFlags, _In_ unsigned int miscFlags, _In_ DDS_LOADER_FLAGS loadFlags, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _Out_opt_ DDS_ALPHA_MODE *alphaMode=nullptr) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateDDSTextureFromMemoryEx (_In_ ID3D11Device *d3dDevice, _In_opt_ ID3D11DeviceContext *d3dContext, _In_reads_bytes_(ddsDataSize) const uint8_t *ddsData, _In_ size_t ddsDataSize, _In_ size_t maxsize, _In_ D3D11_USAGE usage, _In_ unsigned int bindFlags, _In_ unsigned int cpuAccessFlags, _In_ unsigned int miscFlags, _In_ DDS_LOADER_FLAGS loadFlags, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _Out_opt_ DDS_ALPHA_MODE *alphaMode=nullptr) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateDDSTextureFromFileEx (_In_ ID3D11Device *d3dDevice, _In_opt_ ID3D11DeviceContext *d3dContext, _In_z_ const wchar_t *szFileName, _In_ size_t maxsize, _In_ D3D11_USAGE usage, _In_ unsigned int bindFlags, _In_ unsigned int cpuAccessFlags, _In_ unsigned int miscFlags, _In_ DDS_LOADER_FLAGS loadFlags, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _Out_opt_ DDS_ALPHA_MODE *alphaMode=nullptr) noexcept
template<UINT TNameLength>
void SetDebugObjectName (_In_ ID3D11DeviceChild *, _In_z_ const char(&)[TNameLength]) noexcept
template<typename T>
constexpr bool IsPowerOf2 (T x) noexcept
template<typename T>
T AlignDown (T size, size_t alignment) noexcept
template<typename T>
T AlignUp (T size, size_t alignment) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateInputLayoutFromEffect (_In_ ID3D11Device *device, _In_ IEffect *effect, _In_reads_(count) const D3D11_INPUT_ELEMENT_DESC *desc, size_t count, _COM_Outptr_ ID3D11InputLayout **pInputLayout) noexcept
template<typename T>
HRESULT CreateInputLayoutFromEffect (_In_ ID3D11Device *device, _In_ IEffect *effect, _COM_Outptr_ ID3D11InputLayout **pInputLayout) noexcept
void ThrowIfFailed (HRESULT hr) noexcept(false)
void DebugTrace (_In_z_ _Printf_format_string_ const char *format,...) noexcept
HANDLE safe_handle (HANDLE h) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl SaveDDSTextureToFile (_In_ ID3D11DeviceContext *pContext, _In_ ID3D11Resource *pSource, _In_z_ const wchar_t *fileName) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl SaveWICTextureToFile (_In_ ID3D11DeviceContext *pContext, _In_ ID3D11Resource *pSource, _In_ REFGUID guidContainerFormat, _In_z_ const wchar_t *fileName, _In_opt_ const GUID *targetFormat=nullptr, _In_ std::function< void __cdecl(IPropertyBag2 *)> setCustomProps=nullptr, _In_ bool forceSRGB=false)
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateWICTextureFromMemory (_In_ ID3D11Device *d3dDevice, _In_reads_bytes_(wicDataSize) const uint8_t *wicData, _In_ size_t wicDataSize, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize=0) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateWICTextureFromFile (_In_ ID3D11Device *d3dDevice, _In_z_ const wchar_t *szFileName, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize=0) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateWICTextureFromMemory (_In_ ID3D11Device *d3dDevice, _In_opt_ ID3D11DeviceContext *d3dContext, _In_reads_bytes_(wicDataSize) const uint8_t *wicData, _In_ size_t wicDataSize, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize=0) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateWICTextureFromFile (_In_ ID3D11Device *d3dDevice, _In_opt_ ID3D11DeviceContext *d3dContext, _In_z_ const wchar_t *szFileName, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize=0) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateWICTextureFromMemoryEx (_In_ ID3D11Device *d3dDevice, _In_reads_bytes_(wicDataSize) const uint8_t *wicData, _In_ size_t wicDataSize, _In_ size_t maxsize, _In_ D3D11_USAGE usage, _In_ unsigned int bindFlags, _In_ unsigned int cpuAccessFlags, _In_ unsigned int miscFlags, _In_ WIC_LOADER_FLAGS loadFlags, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateWICTextureFromFileEx (_In_ ID3D11Device *d3dDevice, _In_z_ const wchar_t *szFileName, _In_ size_t maxsize, _In_ D3D11_USAGE usage, _In_ unsigned int bindFlags, _In_ unsigned int cpuAccessFlags, _In_ unsigned int miscFlags, _In_ WIC_LOADER_FLAGS loadFlags, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateWICTextureFromMemoryEx (_In_ ID3D11Device *d3dDevice, _In_opt_ ID3D11DeviceContext *d3dContext, _In_reads_bytes_(wicDataSize) const uint8_t *wicData, _In_ size_t wicDataSize, _In_ size_t maxsize, _In_ D3D11_USAGE usage, _In_ unsigned int bindFlags, _In_ unsigned int cpuAccessFlags, _In_ unsigned int miscFlags, _In_ WIC_LOADER_FLAGS loadFlags, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView) noexcept
DIRECTX_TOOLKIT_API HRESULT __cdecl CreateWICTextureFromFileEx (_In_ ID3D11Device *d3dDevice, _In_opt_ ID3D11DeviceContext *d3dContext, _In_z_ const wchar_t *szFileName, _In_ size_t maxsize, _In_ D3D11_USAGE usage, _In_ unsigned int bindFlags, _In_ unsigned int cpuAccessFlags, _In_ unsigned int miscFlags, _In_ WIC_LOADER_FLAGS loadFlags, _Outptr_opt_ ID3D11Resource **texture, _Outptr_opt_ ID3D11ShaderResourceView **textureView) noexcept
HDRColorA * HDRColorALerp (_Out_ HDRColorA *pOut, _In_ const HDRColorA *pC1, _In_ const HDRColorA *pC2, _In_ float s) noexcept
template<bool bRange>
void OptimizeAlpha (float *pX, float *pY, const float *pPoints, uint32_t cSteps) noexcept
void D3DXDecodeBC1 (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(8) const uint8_t *pBC) noexcept
void D3DXDecodeBC2 (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void D3DXDecodeBC3 (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void D3DXDecodeBC4U (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(8) const uint8_t *pBC) noexcept
void D3DXDecodeBC4S (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(8) const uint8_t *pBC) noexcept
void D3DXDecodeBC5U (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void D3DXDecodeBC5S (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void D3DXDecodeBC6HU (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void D3DXDecodeBC6HS (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void D3DXDecodeBC7 (_Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR *pColor, _In_reads_(16) const uint8_t *pBC) noexcept
void D3DXEncodeBC1 (_Out_writes_(8) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ float threshold, _In_ uint32_t flags) noexcept
void D3DXEncodeBC2 (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void D3DXEncodeBC3 (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void D3DXEncodeBC4U (_Out_writes_(8) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void D3DXEncodeBC4S (_Out_writes_(8) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void D3DXEncodeBC5U (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void D3DXEncodeBC5S (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void D3DXEncodeBC6HU (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void D3DXEncodeBC6HS (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept
void D3DXEncodeBC7 (_Out_writes_(16) uint8_t *pBC, _In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR *pColor, _In_ uint32_t flags) noexcept

Variables

constexpr uint32_t DDS_MAGIC = 0x20534444
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_DXT1
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_DXT2
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_DXT3
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_DXT4
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_DXT5
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_BC4_UNORM
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_BC4_SNORM
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_BC5_UNORM
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_BC5_SNORM
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_R8G8_B8G8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_G8R8_G8B8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_YUY2
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_UYVY
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A8R8G8B8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_X8R8G8B8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A8B8G8R8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_X8B8G8R8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_G16R16
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_R5G6B5
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A1R5G5B5
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_X1R5G5B5
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A4R4G4B4
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_X4R4G4B4
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_R8G8B8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A8R3G3B2
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_R3G3B2
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A4L4
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_L8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_L16
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A8L8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A8L8_ALT
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_L8_NVTT1
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_L16_NVTT1
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A8L8_NVTT1
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_V8U8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_Q8W8V8U8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_V16U16
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A2R10G10B10
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A2B10G10R10
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_A2W10V10U10
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_L6V5U5
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_X8L8V8U8
DDSGLOBALCONST DDS_PIXELFORMAT DDSPF_DX10
constexpr size_t DDS_MIN_HEADER_SIZE = sizeof(uint32_t) + sizeof(DDS_HEADER)
constexpr size_t DDS_DX10_HEADER_SIZE = sizeof(uint32_t) + sizeof(DDS_HEADER) + sizeof(DDS_HEADER_DXT10)

Typedef Documentation

◆ BC_DECODE

typedef void(*) DirectX::BC_DECODE(XMVECTOR *pColor, const uint8_t *pBC)

Definition at line 316 of file BC.h.

◆ BC_ENCODE

typedef void(*) DirectX::BC_ENCODE(uint8_t *pDXT, const XMVECTOR *pColor, uint32_t flags)

Definition at line 317 of file BC.h.

◆ ScopedHandle

using DirectX::ScopedHandle = std::unique_ptr<void, handle_closer>

Definition at line 107 of file PlatformHelpers.h.

Enumeration Type Documentation

◆ BC_FLAGS

enum DirectX::BC_FLAGS : uint32_t
Enumerator
BC_FLAGS_NONE 
BC_FLAGS_DITHER_RGB 
BC_FLAGS_DITHER_A 
BC_FLAGS_UNIFORM 
BC_FLAGS_USE_3SUBSETS 
BC_FLAGS_FORCE_BC7_MODE6 

Definition at line 30 of file BC.h.

◆ DDS_ALPHA_MODE [1/2]

enum DirectX::DDS_ALPHA_MODE : uint32_t
Enumerator
DDS_ALPHA_MODE_UNKNOWN 
DDS_ALPHA_MODE_STRAIGHT 
DDS_ALPHA_MODE_PREMULTIPLIED 
DDS_ALPHA_MODE_OPAQUE 
DDS_ALPHA_MODE_CUSTOM 
DDS_ALPHA_MODE_UNKNOWN 
DDS_ALPHA_MODE_STRAIGHT 
DDS_ALPHA_MODE_PREMULTIPLIED 
DDS_ALPHA_MODE_OPAQUE 
DDS_ALPHA_MODE_CUSTOM 

Definition at line 252 of file DDS.h.

◆ DDS_ALPHA_MODE [2/2]

enum DirectX::DDS_ALPHA_MODE : uint32_t
Enumerator
DDS_ALPHA_MODE_UNKNOWN 
DDS_ALPHA_MODE_STRAIGHT 
DDS_ALPHA_MODE_PREMULTIPLIED 
DDS_ALPHA_MODE_OPAQUE 
DDS_ALPHA_MODE_CUSTOM 
DDS_ALPHA_MODE_UNKNOWN 
DDS_ALPHA_MODE_STRAIGHT 
DDS_ALPHA_MODE_PREMULTIPLIED 
DDS_ALPHA_MODE_OPAQUE 
DDS_ALPHA_MODE_CUSTOM 

Definition at line 50 of file DDSTextureLoader.h.

◆ DDS_MISC_FLAGS2

enum DirectX::DDS_MISC_FLAGS2 : uint32_t
Enumerator
DDS_MISC_FLAGS2_ALPHA_MODE_MASK 

Definition at line 245 of file DDS.h.

◆ DDS_RESOURCE_DIMENSION

Enumerator
DDS_DIMENSION_TEXTURE1D 
DDS_DIMENSION_TEXTURE2D 
DDS_DIMENSION_TEXTURE3D 

Definition at line 232 of file DDS.h.

◆ DDS_RESOURCE_MISC_FLAG

Enumerator
DDS_RESOURCE_MISC_TEXTURECUBE 

Definition at line 240 of file DDS.h.

Function Documentation

◆ CreateDDSTextureFromFile() [1/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateDDSTextureFromFile ( _In_ ID3D11Device * d3dDevice,
_In_opt_ ID3D11DeviceContext * d3dContext,
_In_z_ const wchar_t * szFileName,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_In_ size_t maxsize = 0,
_Out_opt_ DDS_ALPHA_MODE * alphaMode = nullptr )
noexcept
Here is the call graph for this function:

◆ CreateDDSTextureFromFile() [2/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateDDSTextureFromFile ( _In_ ID3D11Device * d3dDevice,
_In_z_ const wchar_t * szFileName,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_In_ size_t maxsize = 0,
_Out_opt_ DDS_ALPHA_MODE * alphaMode = nullptr )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateDDSTextureFromFileEx() [1/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateDDSTextureFromFileEx ( _In_ ID3D11Device * d3dDevice,
_In_opt_ ID3D11DeviceContext * d3dContext,
_In_z_ const wchar_t * szFileName,
_In_ size_t maxsize,
_In_ D3D11_USAGE usage,
_In_ unsigned int bindFlags,
_In_ unsigned int cpuAccessFlags,
_In_ unsigned int miscFlags,
_In_ DDS_LOADER_FLAGS loadFlags,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_Out_opt_ DDS_ALPHA_MODE * alphaMode = nullptr )
noexcept
Here is the call graph for this function:

◆ CreateDDSTextureFromFileEx() [2/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateDDSTextureFromFileEx ( _In_ ID3D11Device * d3dDevice,
_In_z_ const wchar_t * szFileName,
_In_ size_t maxsize,
_In_ D3D11_USAGE usage,
_In_ unsigned int bindFlags,
_In_ unsigned int cpuAccessFlags,
_In_ unsigned int miscFlags,
_In_ DDS_LOADER_FLAGS loadFlags,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_Out_opt_ DDS_ALPHA_MODE * alphaMode = nullptr )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateDDSTextureFromMemory() [1/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateDDSTextureFromMemory ( _In_ ID3D11Device * d3dDevice,
_In_opt_ ID3D11DeviceContext * d3dContext,
_In_reads_bytes_(ddsDataSize) const uint8_t * ddsData,
_In_ size_t ddsDataSize,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_In_ size_t maxsize = 0,
_Out_opt_ DDS_ALPHA_MODE * alphaMode = nullptr )
noexcept
Here is the call graph for this function:

◆ CreateDDSTextureFromMemory() [2/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateDDSTextureFromMemory ( _In_ ID3D11Device * d3dDevice,
_In_reads_bytes_(ddsDataSize) const uint8_t * ddsData,
_In_ size_t ddsDataSize,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_In_ size_t maxsize = 0,
_Out_opt_ DDS_ALPHA_MODE * alphaMode = nullptr )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateDDSTextureFromMemoryEx() [1/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateDDSTextureFromMemoryEx ( _In_ ID3D11Device * d3dDevice,
_In_opt_ ID3D11DeviceContext * d3dContext,
_In_reads_bytes_(ddsDataSize) const uint8_t * ddsData,
_In_ size_t ddsDataSize,
_In_ size_t maxsize,
_In_ D3D11_USAGE usage,
_In_ unsigned int bindFlags,
_In_ unsigned int cpuAccessFlags,
_In_ unsigned int miscFlags,
_In_ DDS_LOADER_FLAGS loadFlags,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_Out_opt_ DDS_ALPHA_MODE * alphaMode = nullptr )
noexcept
Here is the call graph for this function:

◆ CreateDDSTextureFromMemoryEx() [2/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateDDSTextureFromMemoryEx ( _In_ ID3D11Device * d3dDevice,
_In_reads_bytes_(ddsDataSize) const uint8_t * ddsData,
_In_ size_t ddsDataSize,
_In_ size_t maxsize,
_In_ D3D11_USAGE usage,
_In_ unsigned int bindFlags,
_In_ unsigned int cpuAccessFlags,
_In_ unsigned int miscFlags,
_In_ DDS_LOADER_FLAGS loadFlags,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_Out_opt_ DDS_ALPHA_MODE * alphaMode = nullptr )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateInputLayoutFromEffect() [1/2]

template<typename T>
HRESULT DirectX::CreateInputLayoutFromEffect ( _In_ ID3D11Device * device,
_In_ IEffect * effect,
_COM_Outptr_ ID3D11InputLayout ** pInputLayout )
noexcept

Definition at line 235 of file DirectXHelpers.h.

Here is the call graph for this function:

◆ CreateInputLayoutFromEffect() [2/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateInputLayoutFromEffect ( _In_ ID3D11Device * device,
_In_ IEffect * effect,
_In_reads_(count) const D3D11_INPUT_ELEMENT_DESC * desc,
size_t count,
_COM_Outptr_ ID3D11InputLayout ** pInputLayout )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateWICTextureFromFile() [1/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateWICTextureFromFile ( _In_ ID3D11Device * d3dDevice,
_In_opt_ ID3D11DeviceContext * d3dContext,
_In_z_ const wchar_t * szFileName,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_In_ size_t maxsize = 0 )
noexcept
Here is the call graph for this function:

◆ CreateWICTextureFromFile() [2/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateWICTextureFromFile ( _In_ ID3D11Device * d3dDevice,
_In_z_ const wchar_t * szFileName,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_In_ size_t maxsize = 0 )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateWICTextureFromFileEx() [1/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateWICTextureFromFileEx ( _In_ ID3D11Device * d3dDevice,
_In_opt_ ID3D11DeviceContext * d3dContext,
_In_z_ const wchar_t * szFileName,
_In_ size_t maxsize,
_In_ D3D11_USAGE usage,
_In_ unsigned int bindFlags,
_In_ unsigned int cpuAccessFlags,
_In_ unsigned int miscFlags,
_In_ WIC_LOADER_FLAGS loadFlags,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView )
noexcept
Here is the call graph for this function:

◆ CreateWICTextureFromFileEx() [2/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateWICTextureFromFileEx ( _In_ ID3D11Device * d3dDevice,
_In_z_ const wchar_t * szFileName,
_In_ size_t maxsize,
_In_ D3D11_USAGE usage,
_In_ unsigned int bindFlags,
_In_ unsigned int cpuAccessFlags,
_In_ unsigned int miscFlags,
_In_ WIC_LOADER_FLAGS loadFlags,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateWICTextureFromMemory() [1/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateWICTextureFromMemory ( _In_ ID3D11Device * d3dDevice,
_In_opt_ ID3D11DeviceContext * d3dContext,
_In_reads_bytes_(wicDataSize) const uint8_t * wicData,
_In_ size_t wicDataSize,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_In_ size_t maxsize = 0 )
noexcept
Here is the call graph for this function:

◆ CreateWICTextureFromMemory() [2/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateWICTextureFromMemory ( _In_ ID3D11Device * d3dDevice,
_In_reads_bytes_(wicDataSize) const uint8_t * wicData,
_In_ size_t wicDataSize,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView,
_In_ size_t maxsize = 0 )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateWICTextureFromMemoryEx() [1/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateWICTextureFromMemoryEx ( _In_ ID3D11Device * d3dDevice,
_In_opt_ ID3D11DeviceContext * d3dContext,
_In_reads_bytes_(wicDataSize) const uint8_t * wicData,
_In_ size_t wicDataSize,
_In_ size_t maxsize,
_In_ D3D11_USAGE usage,
_In_ unsigned int bindFlags,
_In_ unsigned int cpuAccessFlags,
_In_ unsigned int miscFlags,
_In_ WIC_LOADER_FLAGS loadFlags,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView )
noexcept
Here is the call graph for this function:

◆ CreateWICTextureFromMemoryEx() [2/2]

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::CreateWICTextureFromMemoryEx ( _In_ ID3D11Device * d3dDevice,
_In_reads_bytes_(wicDataSize) const uint8_t * wicData,
_In_ size_t wicDataSize,
_In_ size_t maxsize,
_In_ D3D11_USAGE usage,
_In_ unsigned int bindFlags,
_In_ unsigned int cpuAccessFlags,
_In_ unsigned int miscFlags,
_In_ WIC_LOADER_FLAGS loadFlags,
_Outptr_opt_ ID3D11Resource ** texture,
_Outptr_opt_ ID3D11ShaderResourceView ** textureView )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXDecodeBC1()

void DirectX::D3DXDecodeBC1 ( _Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR * pColor,
_In_reads_(8) const uint8_t * pBC )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXDecodeBC2()

void DirectX::D3DXDecodeBC2 ( _Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR * pColor,
_In_reads_(16) const uint8_t * pBC )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXDecodeBC3()

void DirectX::D3DXDecodeBC3 ( _Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR * pColor,
_In_reads_(16) const uint8_t * pBC )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXDecodeBC4S()

void DirectX::D3DXDecodeBC4S ( _Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR * pColor,
_In_reads_(8) const uint8_t * pBC )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXDecodeBC4U()

void DirectX::D3DXDecodeBC4U ( _Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR * pColor,
_In_reads_(8) const uint8_t * pBC )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXDecodeBC5S()

void DirectX::D3DXDecodeBC5S ( _Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR * pColor,
_In_reads_(16) const uint8_t * pBC )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXDecodeBC5U()

void DirectX::D3DXDecodeBC5U ( _Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR * pColor,
_In_reads_(16) const uint8_t * pBC )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXDecodeBC6HS()

void DirectX::D3DXDecodeBC6HS ( _Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR * pColor,
_In_reads_(16) const uint8_t * pBC )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXDecodeBC6HU()

void DirectX::D3DXDecodeBC6HU ( _Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR * pColor,
_In_reads_(16) const uint8_t * pBC )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXDecodeBC7()

void DirectX::D3DXDecodeBC7 ( _Out_writes_(NUM_PIXELS_PER_BLOCK) XMVECTOR * pColor,
_In_reads_(16) const uint8_t * pBC )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXEncodeBC1()

void DirectX::D3DXEncodeBC1 ( _Out_writes_(8) uint8_t * pBC,
_In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR * pColor,
_In_ float threshold,
_In_ uint32_t flags )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXEncodeBC2()

void DirectX::D3DXEncodeBC2 ( _Out_writes_(16) uint8_t * pBC,
_In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR * pColor,
_In_ uint32_t flags )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXEncodeBC3()

void DirectX::D3DXEncodeBC3 ( _Out_writes_(16) uint8_t * pBC,
_In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR * pColor,
_In_ uint32_t flags )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXEncodeBC4S()

void DirectX::D3DXEncodeBC4S ( _Out_writes_(8) uint8_t * pBC,
_In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR * pColor,
_In_ uint32_t flags )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXEncodeBC4U()

void DirectX::D3DXEncodeBC4U ( _Out_writes_(8) uint8_t * pBC,
_In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR * pColor,
_In_ uint32_t flags )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXEncodeBC5S()

void DirectX::D3DXEncodeBC5S ( _Out_writes_(16) uint8_t * pBC,
_In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR * pColor,
_In_ uint32_t flags )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXEncodeBC5U()

void DirectX::D3DXEncodeBC5U ( _Out_writes_(16) uint8_t * pBC,
_In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR * pColor,
_In_ uint32_t flags )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXEncodeBC6HS()

void DirectX::D3DXEncodeBC6HS ( _Out_writes_(16) uint8_t * pBC,
_In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR * pColor,
_In_ uint32_t flags )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXEncodeBC6HU()

void DirectX::D3DXEncodeBC6HU ( _Out_writes_(16) uint8_t * pBC,
_In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR * pColor,
_In_ uint32_t flags )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ D3DXEncodeBC7()

void DirectX::D3DXEncodeBC7 ( _Out_writes_(16) uint8_t * pBC,
_In_reads_(NUM_PIXELS_PER_BLOCK) const XMVECTOR * pColor,
_In_ uint32_t flags )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ DebugTrace()

void DirectX::DebugTrace ( _In_z_ _Printf_format_string_ const char * format,
... )
inlinenoexcept

Definition at line 70 of file PlatformHelpers.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HDRColorALerp()

HDRColorA * DirectX::HDRColorALerp ( _Out_ HDRColorA * pOut,
_In_ const HDRColorA * pC1,
_In_ const HDRColorA * pC2,
_In_ float s )
inlinenoexcept

Definition at line 142 of file BC.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OptimizeAlpha()

template<bool bRange>
void DirectX::OptimizeAlpha ( float * pX,
float * pY,
const float * pPoints,
uint32_t cSteps )
noexcept

Definition at line 181 of file BC.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ safe_handle()

HANDLE DirectX::safe_handle ( HANDLE h)
inlinenoexcept

Definition at line 109 of file PlatformHelpers.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SaveDDSTextureToFile()

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::SaveDDSTextureToFile ( _In_ ID3D11DeviceContext * pContext,
_In_ ID3D11Resource * pSource,
_In_z_ const wchar_t * fileName )
noexcept
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SaveWICTextureToFile()

DIRECTX_TOOLKIT_API HRESULT __cdecl DirectX::SaveWICTextureToFile ( _In_ ID3D11DeviceContext * pContext,
_In_ ID3D11Resource * pSource,
_In_ REFGUID guidContainerFormat,
_In_z_ const wchar_t * fileName,
_In_opt_ const GUID * targetFormat = nullptr,
_In_ std::function< void __cdecl(IPropertyBag2 *)> setCustomProps = nullptr,
_In_ bool forceSRGB = false )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetDebugObjectName()

template<UINT TNameLength>
void DirectX::SetDebugObjectName ( _In_ ID3D11DeviceChild * ,
_In_z_ const char(&)[TNameLength] )
inlinenoexcept

Definition at line 165 of file DirectXHelpers.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ThrowIfFailed()

void DirectX::ThrowIfFailed ( HRESULT hr)
inline

Definition at line 61 of file PlatformHelpers.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ DDS_DX10_HEADER_SIZE

size_t DirectX::DDS_DX10_HEADER_SIZE = sizeof(uint32_t) + sizeof(DDS_HEADER) + sizeof(DDS_HEADER_DXT10)
constexpr

Definition at line 296 of file DDS.h.

◆ DDS_MAGIC

uint32_t DirectX::DDS_MAGIC = 0x20534444
constexpr

Definition at line 28 of file DDS.h.

◆ DDS_MIN_HEADER_SIZE

size_t DirectX::DDS_MIN_HEADER_SIZE = sizeof(uint32_t) + sizeof(DDS_HEADER)
constexpr

Definition at line 295 of file DDS.h.

◆ DDSPF_A1R5G5B5

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A1R5G5B5
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGBA, 0, 16, 0x7c00, 0x03e0, 0x001f, 0x8000 }
#define DDS_RGBA
Definition DDS.h:44

Definition at line 128 of file DDS.h.

◆ DDSPF_A2B10G10R10

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A2B10G10R10
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGBA, 0, 32, 0x3ff00000, 0x000ffc00, 0x000003ff, 0xc0000000 }

Definition at line 188 of file DDS.h.

◆ DDSPF_A2R10G10B10

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A2R10G10B10
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGBA, 0, 32, 0x000003ff, 0x000ffc00, 0x3ff00000, 0xc0000000 }

Definition at line 186 of file DDS.h.

◆ DDSPF_A2W10V10U10

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A2W10V10U10
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_BUMPDUDVA, 0, 32, 0x3ff00000, 0x000ffc00, 0x000003ff, 0xc0000000 }
#define DDS_BUMPDUDVA
Definition DDS.h:53

Definition at line 192 of file DDS.h.

◆ DDSPF_A4L4

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A4L4
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_LUMINANCEA, 0, 8, 0x0f, 0, 0, 0xf0 }
#define DDS_LUMINANCEA
Definition DDS.h:46

Definition at line 149 of file DDS.h.

◆ DDSPF_A4R4G4B4

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A4R4G4B4
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGBA, 0, 16, 0x0f00, 0x00f0, 0x000f, 0xf000 }

Definition at line 134 of file DDS.h.

◆ DDSPF_A8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_ALPHA, 0, 8, 0, 0, 0, 0xff }
#define DDS_ALPHA
Definition DDS.h:48

Definition at line 173 of file DDS.h.

◆ DDSPF_A8B8G8R8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A8B8G8R8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGBA, 0, 32, 0x000000ff, 0x0000ff00, 0x00ff0000, 0xff000000 }

Definition at line 116 of file DDS.h.

◆ DDSPF_A8L8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A8L8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_LUMINANCEA, 0, 16, 0x00ff, 0, 0, 0xff00 }

Definition at line 158 of file DDS.h.

◆ DDSPF_A8L8_ALT

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A8L8_ALT
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_LUMINANCEA, 0, 8, 0x00ff, 0, 0, 0xff00 }

Definition at line 161 of file DDS.h.

◆ DDSPF_A8L8_NVTT1

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A8L8_NVTT1
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGBA, 0, 16, 0x00ff, 0, 0, 0xff00 }

Definition at line 170 of file DDS.h.

◆ DDSPF_A8R3G3B2

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A8R3G3B2
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGBA, 0, 16, 0x00e0, 0x001c, 0x0003, 0xff00 }

Definition at line 143 of file DDS.h.

◆ DDSPF_A8R8G8B8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_A8R8G8B8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGBA, 0, 32, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 }

Definition at line 110 of file DDS.h.

◆ DDSPF_BC4_SNORM

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_BC4_SNORM
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('B','C','4','S'), 0, 0, 0, 0, 0 }
#define DDS_FOURCC
Definition DDS.h:42
#define MAKEFOURCC(ch0, ch1, ch2, ch3)
Definition DDS.h:56

Definition at line 89 of file DDS.h.

◆ DDSPF_BC4_UNORM

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_BC4_UNORM
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('B','C','4','U'), 0, 0, 0, 0, 0 }

Definition at line 86 of file DDS.h.

◆ DDSPF_BC5_SNORM

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_BC5_SNORM
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('B','C','5','S'), 0, 0, 0, 0, 0 }

Definition at line 95 of file DDS.h.

◆ DDSPF_BC5_UNORM

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_BC5_UNORM
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('B','C','5','U'), 0, 0, 0, 0, 0 }

Definition at line 92 of file DDS.h.

◆ DDSPF_DX10

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_DX10
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('D','X','1','0'), 0, 0, 0, 0, 0 }

Definition at line 200 of file DDS.h.

◆ DDSPF_DXT1

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_DXT1
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('D','X','T','1'), 0, 0, 0, 0, 0 }

Definition at line 71 of file DDS.h.

◆ DDSPF_DXT2

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_DXT2
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('D','X','T','2'), 0, 0, 0, 0, 0 }

Definition at line 74 of file DDS.h.

◆ DDSPF_DXT3

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_DXT3
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('D','X','T','3'), 0, 0, 0, 0, 0 }

Definition at line 77 of file DDS.h.

◆ DDSPF_DXT4

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_DXT4
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('D','X','T','4'), 0, 0, 0, 0, 0 }

Definition at line 80 of file DDS.h.

◆ DDSPF_DXT5

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_DXT5
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('D','X','T','5'), 0, 0, 0, 0, 0 }

Definition at line 83 of file DDS.h.

◆ DDSPF_G16R16

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_G16R16
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGB, 0, 32, 0x0000ffff, 0xffff0000, 0, 0 }
#define DDS_RGB
Definition DDS.h:43

Definition at line 122 of file DDS.h.

◆ DDSPF_G8R8_G8B8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_G8R8_G8B8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('G','R','G','B'), 0, 0, 0, 0, 0 }

Definition at line 101 of file DDS.h.

◆ DDSPF_L16

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_L16
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_LUMINANCE, 0, 16, 0xffff, 0, 0, 0 }
#define DDS_LUMINANCE
Definition DDS.h:45

Definition at line 155 of file DDS.h.

◆ DDSPF_L16_NVTT1

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_L16_NVTT1
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGB, 0, 16, 0xffff, 0, 0, 0 }

Definition at line 167 of file DDS.h.

◆ DDSPF_L6V5U5

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_L6V5U5
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_BUMPLUMINANCE, 0, 16, 0x001f, 0x03e0, 0xfc00, 0 }
#define DDS_BUMPLUMINANCE
Definition DDS.h:51

Definition at line 194 of file DDS.h.

◆ DDSPF_L8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_L8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_LUMINANCE, 0, 8, 0xff, 0, 0, 0 }

Definition at line 152 of file DDS.h.

◆ DDSPF_L8_NVTT1

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_L8_NVTT1
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGB, 0, 8, 0xff, 0, 0, 0 }

Definition at line 164 of file DDS.h.

◆ DDSPF_Q8W8V8U8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_Q8W8V8U8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_BUMPDUDV, 0, 32, 0x000000ff, 0x0000ff00, 0x00ff0000, 0xff000000 }
#define DDS_BUMPDUDV
Definition DDS.h:52

Definition at line 179 of file DDS.h.

◆ DDSPF_R3G3B2

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_R3G3B2
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGB, 0, 8, 0xe0, 0x1c, 0x03, 0 }

Definition at line 146 of file DDS.h.

◆ DDSPF_R5G6B5

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_R5G6B5
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGB, 0, 16, 0xf800, 0x07e0, 0x001f, 0 }

Definition at line 125 of file DDS.h.

◆ DDSPF_R8G8_B8G8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_R8G8_B8G8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('R','G','B','G'), 0, 0, 0, 0, 0 }

Definition at line 98 of file DDS.h.

◆ DDSPF_R8G8B8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_R8G8B8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGB, 0, 24, 0xff0000, 0x00ff00, 0x0000ff, 0 }

Definition at line 140 of file DDS.h.

◆ DDSPF_UYVY

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_UYVY
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('U','Y','V','Y'), 0, 0, 0, 0, 0 }

Definition at line 107 of file DDS.h.

◆ DDSPF_V16U16

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_V16U16
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_BUMPDUDV, 0, 32, 0x0000ffff, 0xffff0000, 0, 0 }

Definition at line 182 of file DDS.h.

◆ DDSPF_V8U8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_V8U8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_BUMPDUDV, 0, 16, 0x00ff, 0xff00, 0, 0 }

Definition at line 176 of file DDS.h.

◆ DDSPF_X1R5G5B5

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_X1R5G5B5
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGB, 0, 16, 0x7c00, 0x03e0, 0x001f, 0 }

Definition at line 131 of file DDS.h.

◆ DDSPF_X4R4G4B4

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_X4R4G4B4
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGB, 0, 16, 0x0f00, 0x00f0, 0x000f, 0 }

Definition at line 137 of file DDS.h.

◆ DDSPF_X8B8G8R8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_X8B8G8R8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGB, 0, 32, 0x000000ff, 0x0000ff00, 0x00ff0000, 0 }

Definition at line 119 of file DDS.h.

◆ DDSPF_X8L8V8U8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_X8L8V8U8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_BUMPLUMINANCE, 0, 32, 0x000000ff, 0x0000ff00, 0x00ff0000, 0 }

Definition at line 196 of file DDS.h.

◆ DDSPF_X8R8G8B8

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_X8R8G8B8
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_RGB, 0, 32, 0x00ff0000, 0x0000ff00, 0x000000ff, 0 }

Definition at line 113 of file DDS.h.

◆ DDSPF_YUY2

DDSGLOBALCONST DDS_PIXELFORMAT DirectX::DDSPF_YUY2
Initial value:
=
{ sizeof(DDS_PIXELFORMAT), DDS_FOURCC, MAKEFOURCC('Y','U','Y','2'), 0, 0, 0, 0, 0 }

Definition at line 104 of file DDS.h.