Rise
The Vieneo Province
Loading...
Searching...
No Matches
WICTextureLoader.h File Reference
#include <d3d11_1.h>
#include <cstddef>
#include <cstdint>
Include dependency graph for WICTextureLoader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  DirectX
namespace  DirectX::DX11

Macros

#define DIRECTX_TOOLKIT_API

Enumerations

enum  DirectX::DX11::WIC_LOADER_FLAGS : uint32_t {
  DirectX::DX11::WIC_LOADER_DEFAULT = 0 , DirectX::DX11::WIC_LOADER_FORCE_SRGB = 0x1 , DirectX::DX11::WIC_LOADER_IGNORE_SRGB = 0x2 , DirectX::DX11::WIC_LOADER_SRGB_DEFAULT = 0x4 ,
  DirectX::DX11::WIC_LOADER_FIT_POW2 = 0x20 , DirectX::DX11::WIC_LOADER_MAKE_SQUARE = 0x40 , DirectX::DX11::WIC_LOADER_FORCE_RGBA32 = 0x80
}

Functions

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
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
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
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
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
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
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
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

Macro Definition Documentation

◆ DIRECTX_TOOLKIT_API

#define DIRECTX_TOOLKIT_API

Definition at line 53 of file WICTextureLoader.h.