Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
DirectXTex.inl File Reference

Go to the source code of this file.

Functions

_Use_decl_annotations_ bool IsValid (DXGI_FORMAT fmt)
 
_Use_decl_annotations_ bool IsCompressed (DXGI_FORMAT fmt)
 
_Use_decl_annotations_ bool IsPacked (DXGI_FORMAT fmt)
 
_Use_decl_annotations_ bool IsPlanar (DXGI_FORMAT fmt)
 
_Use_decl_annotations_ bool IsPalettized (DXGI_FORMAT fmt)
 
_Use_decl_annotations_ bool IsVideo (DXGI_FORMAT fmt)
 
_Use_decl_annotations_ bool IsDepthStencil (DXGI_FORMAT fmt)
 
_Use_decl_annotations_ bool IsSRGB (DXGI_FORMAT fmt)
 
_Use_decl_annotations_ bool IsTypeless (DXGI_FORMAT fmt, bool partialTypeless)
 
_Use_decl_annotations_ bool HasAlpha (DXGI_FORMAT fmt)
 
_Use_decl_annotations_ size_t ComputeScanlines (DXGI_FORMAT fmt, size_t height)
 
_Use_decl_annotations_ HRESULT SaveToDDSMemory (const Image &image, DWORD flags, Blob &blob)
 
_Use_decl_annotations_ HRESULT SaveToDDSFile (const Image &image, DWORD flags, LPCWSTR szFile)
 

Function Documentation

_Use_decl_annotations_ size_t ComputeScanlines ( DXGI_FORMAT  fmt,
size_t  height 
)

Definition at line 298 of file DirectXTex.inl.

References IsCompressed(), and IsPlanar().

_Use_decl_annotations_ bool HasAlpha ( DXGI_FORMAT  fmt)

Definition at line 237 of file DirectXTex.inl.

_Use_decl_annotations_ bool IsCompressed ( DXGI_FORMAT  fmt)

Definition at line 31 of file DirectXTex.inl.

Referenced by ComputeScanlines().

_Use_decl_annotations_ bool IsDepthStencil ( DXGI_FORMAT  fmt)

Definition at line 150 of file DirectXTex.inl.

_Use_decl_annotations_ bool IsPacked ( DXGI_FORMAT  fmt)

Definition at line 64 of file DirectXTex.inl.

_Use_decl_annotations_ bool IsPalettized ( DXGI_FORMAT  fmt)

Definition at line 104 of file DirectXTex.inl.

_Use_decl_annotations_ bool IsPlanar ( DXGI_FORMAT  fmt)

Definition at line 81 of file DirectXTex.inl.

Referenced by ComputeScanlines().

_Use_decl_annotations_ bool IsSRGB ( DXGI_FORMAT  fmt)

Definition at line 173 of file DirectXTex.inl.

_Use_decl_annotations_ bool IsTypeless ( DXGI_FORMAT  fmt,
bool  partialTypeless 
)

Definition at line 192 of file DirectXTex.inl.

_Use_decl_annotations_ bool IsVideo ( DXGI_FORMAT  fmt)

Definition at line 120 of file DirectXTex.inl.

_Use_decl_annotations_ HRESULT SaveToDDSFile ( const Image &  image,
DWORD  flags,
LPCWSTR  szFile 
)

Definition at line 339 of file DirectXTex.inl.

References DirectX::TEX_DIMENSION_TEXTURE2D.

_Use_decl_annotations_ HRESULT SaveToDDSMemory ( const Image &  image,
DWORD  flags,
Blob &  blob 
)

Definition at line 323 of file DirectXTex.inl.

References DirectX::TEX_DIMENSION_TEXTURE2D.