56 #pragma warning(disable : 4005)
63 _In_reads_bytes_(ddsDataSize)
const uint8_t* ddsData,
64 _In_
size_t ddsDataSize,
65 _Out_opt_ ID3D11Resource**
texture,
66 _Out_opt_ ID3D11ShaderResourceView** textureView,
67 _In_
size_t maxsize = 0
71 _In_z_
const wchar_t* szFileName,
72 _Out_opt_ ID3D11Resource**
texture,
73 _Out_opt_ ID3D11ShaderResourceView** textureView,
74 _In_
size_t maxsize = 0
78 _In_reads_bytes_(ddsDataSize)
const uint8_t* ddsData,
79 _In_
size_t ddsDataSize,
81 _In_ D3D11_USAGE
usage,
82 _In_
unsigned int bindFlags,
83 _In_
unsigned int cpuAccessFlags,
84 _In_
unsigned int miscFlags,
86 _Out_opt_ ID3D11Resource**
texture,
87 _Out_opt_ ID3D11ShaderResourceView** textureView
91 _In_z_
const wchar_t* szFileName,
93 _In_ D3D11_USAGE
usage,
94 _In_
unsigned int bindFlags,
95 _In_
unsigned int cpuAccessFlags,
96 _In_
unsigned int miscFlags,
98 _Out_opt_ ID3D11Resource**
texture,
99 _Out_opt_ ID3D11ShaderResourceView** textureView
HRESULT CreateDDSTextureFromMemory(_In_ ID3D11Device *d3dDevice, _In_reads_bytes_(ddsDataSize) const uint8_t *ddsData, _In_ size_t ddsDataSize, _Out_opt_ ID3D11Resource **texture, _Out_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize=0)
GLenum GLenum GLuint texture
Definition: GLee.h:5383
HRESULT 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_ bool forceSRGB, _Out_opt_ ID3D11Resource **texture, _Out_opt_ ID3D11ShaderResourceView **textureView)
GLsizeiptr const GLvoid GLenum usage
Definition: GLee.h:2089
HRESULT CreateDDSTextureFromFile(_In_ ID3D11Device *d3dDevice, _In_z_ const wchar_t *szFileName, _Out_opt_ ID3D11Resource **texture, _Out_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize=0)
HRESULT 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_ bool forceSRGB, _Out_opt_ ID3D11Resource **texture, _Out_opt_ ID3D11ShaderResourceView **textureView)