|
static IWICImagingFactory * | _GetWIC () |
|
static size_t | _WICBitsPerPixel (REFGUID targetGuid) |
|
static DXGI_FORMAT | _WICToDXGI (const GUID &guid) |
|
static HRESULT | CreateTextureFromWIC (_In_ ID3D11Device *d3dDevice, _In_opt_ ID3D11DeviceContext *d3dContext, _In_ IWICBitmapFrameDecode *frame, _Out_opt_ ID3D11Resource **texture, _Out_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize) |
|
HRESULT | CreateWICTextureFromFile (_In_ ID3D11Device *d3dDevice, _In_opt_ ID3D11DeviceContext *d3dContext, _In_z_ const wchar_t *fileName, _Out_opt_ ID3D11Resource **texture, _Out_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize) |
|
HRESULT | CreateWICTextureFromMemory (_In_ ID3D11Device *d3dDevice, _In_opt_ ID3D11DeviceContext *d3dContext, _In_bytecount_(wicDataSize) const uint8_t *wicData, _In_ size_t wicDataSize, _Out_opt_ ID3D11Resource **texture, _Out_opt_ ID3D11ShaderResourceView **textureView, _In_ size_t maxsize) |
|