12 #ifndef __D3DX11TEX_H__ 13 #define __D3DX11TEX_H__ 344 ID3DX11ThreadPump* pPump,
351 ID3DX11ThreadPump* pPump,
356 #define D3DX11GetImageInfoFromFile D3DX11GetImageInfoFromFileW 358 #define D3DX11GetImageInfoFromFile D3DX11GetImageInfoFromFileA 366 ID3DX11ThreadPump* pPump,
373 LPCWSTR pSrcResource,
374 ID3DX11ThreadPump* pPump,
379 #define D3DX11GetImageInfoFromResource D3DX11GetImageInfoFromResourceW 381 #define D3DX11GetImageInfoFromResource D3DX11GetImageInfoFromResourceA 389 ID3DX11ThreadPump* pPump,
443 ID3DX11ThreadPump* pPump,
452 ID3DX11ThreadPump* pPump,
457 #define D3DX11CreateShaderResourceViewFromFile D3DX11CreateShaderResourceViewFromFileW 459 #define D3DX11CreateShaderResourceViewFromFile D3DX11CreateShaderResourceViewFromFileA 467 ID3DX11ThreadPump* pPump,
476 ID3DX11ThreadPump* pPump,
481 #define D3DX11CreateTextureFromFile D3DX11CreateTextureFromFileW 483 #define D3DX11CreateTextureFromFile D3DX11CreateTextureFromFileA 495 ID3DX11ThreadPump* pPump,
503 LPCWSTR pSrcResource,
505 ID3DX11ThreadPump* pPump,
510 #define D3DX11CreateShaderResourceViewFromResource D3DX11CreateShaderResourceViewFromResourceW 512 #define D3DX11CreateShaderResourceViewFromResource D3DX11CreateShaderResourceViewFromResourceA 521 ID3DX11ThreadPump* pPump,
529 LPCWSTR pSrcResource,
531 ID3DX11ThreadPump* pPump,
536 #define D3DX11CreateTextureFromResource D3DX11CreateTextureFromResourceW 538 #define D3DX11CreateTextureFromResource D3DX11CreateTextureFromResourceA 550 ID3DX11ThreadPump* pPump,
560 ID3DX11ThreadPump* pPump,
679 #define D3DX11SaveTextureToFile D3DX11SaveTextureToFileW 681 #define D3DX11SaveTextureToFile D3DX11SaveTextureToFileA 761 __in_range(2,6)
UINT Order,
764 __out_ecount_opt(Order*Order)
FLOAT *pGOut,
765 __out_ecount_opt(Order*Order)
FLOAT *pBOut);
771 #endif //__D3DX11TEX_H__ HRESULT WINAPI D3DX11CreateTextureFromMemory(ID3D11Device *pDevice, LPCVOID pSrcData, SIZE_T SrcDataSize, D3DX11_IMAGE_LOAD_INFO *pLoadInfo, ID3DX11ThreadPump *pPump, ID3D11Resource **ppTexture, HRESULT *pHResult)
Definition: d3dx11tex.h:74
HRESULT WINAPI D3DX11CreateShaderResourceViewFromMemory(ID3D11Device *pDevice, LPCVOID pSrcData, SIZE_T SrcDataSize, D3DX11_IMAGE_LOAD_INFO *pLoadInfo, ID3DX11ThreadPump *pPump, ID3D11ShaderResourceView **ppShaderResourceView, HRESULT *pHResult)
interface ID3D11ShaderResourceView ID3D11ShaderResourceView
Definition: d3d11.h:119
Definition: d3dx11tex.h:158
UINT SrcFirstMip
Definition: d3dx11tex.h:579
Definition: d3dx11tex.h:82
HRESULT WINAPI D3DX11GetImageInfoFromMemory(LPCVOID pSrcData, SIZE_T SrcDataSize, ID3DX11ThreadPump *pPump, D3DX11_IMAGE_INFO *pSrcInfo, HRESULT *pHResult)
HRESULT WINAPI D3DX11CreateShaderResourceViewFromResourceA(ID3D11Device *pDevice, HMODULE hSrcModule, LPCSTR pSrcResource, D3DX11_IMAGE_LOAD_INFO *pLoadInfo, ID3DX11ThreadPump *pPump, ID3D11ShaderResourceView **ppShaderResourceView, HRESULT *pHResult)
UINT MiscFlags
Definition: d3dx11tex.h:217
Definition: d3dx11tex.h:68
Definition: glslang_tab.cpp:129
#define DXGI_FORMAT_FROM_FILE
Definition: d3dx10.h:24
Definition: d3dx11tex.h:143
D3DX11_NORMALMAP_FLAG
Definition: d3dx11tex.h:109
D3D11_BOX * pSrcBox
Definition: d3dx11tex.h:577
__out_ecount(4) FLOAT *WINAPI D3DXSHMultiply2(__out_ecount(4) FLOAT *pOut
Definition: d3dx11tex.h:160
interface ID3D11Resource ID3D11Resource
Definition: d3d11.h:77
struct _D3DX11_TEXTURE_LOAD_INFO D3DX11_TEXTURE_LOAD_INFO
UINT DstFirstMip
Definition: d3dx11tex.h:580
UINT ArraySize
Definition: d3dx11tex.h:215
interface ID3D11Device ID3D11Device
Definition: d3d11.h:329
struct D3DX11_IMAGE_LOAD_INFO D3DX11_IMAGE_LOAD_INFO
HRESULT WINAPI D3DX11SaveTextureToFileA(ID3D11DeviceContext *pContext, ID3D11Resource *pSrcTexture, D3DX11_IMAGE_FILE_FORMAT DestFormat, LPCSTR pDestFile)
Definition: d3dx11tex.h:67
typedef HRESULT(WINAPI *PFN_D3D12_SERIALIZE_ROOT_SIGNATURE)(_In_ const D3D12_ROOT_SIGNATURE_DESC *pRootSignature
D3DX11_IMAGE_FILE_FORMAT
Definition: d3dx11tex.h:156
Definition: d3dx11tex.h:140
UINT MipFilter
Definition: d3dx11tex.h:288
UINT DstFirstElement
Definition: d3dx11tex.h:583
UINT Width
Definition: d3dx11tex.h:277
D3D11_USAGE Usage
Definition: d3dx11tex.h:282
interface ID3D10Blob ID3D10Blob
Definition: d3dcommon.h:44
Definition: d3dx11tex.h:161
Definition: d3dx11tex.h:79
UINT Depth
Definition: d3dx11tex.h:279
HRESULT WINAPI D3DX11ComputeNormalMap(ID3D11DeviceContext *pContext, ID3D11Texture2D *pSrcTexture, UINT Flags, UINT Channel, FLOAT Amplitude, ID3D11Texture2D *pDestTexture)
D3D11_RESOURCE_DIMENSION ResourceDimension
Definition: d3dx11tex.h:219
Definition: d3dx11tex.h:575
interface ID3D11Texture2D ID3D11Texture2D
Definition: d3d11.h:98
Definition: d3dx11tex.h:73
Definition: d3dx11tex.h:78
Definition: d3dx11tex.h:81
#define NULL
Pointer to 0.
Definition: gctypes.h:65
DXGI_FORMAT
Definition: dxgiformat.h:10
Definition: d3dx11tex.h:69
UINT NumElements
Definition: d3dx11tex.h:584
D3DX11_CHANNEL_FLAG
Definition: d3dx11tex.h:138
UINT MipLevels
Definition: d3dx11tex.h:281
UINT NumMips
Definition: d3dx11tex.h:581
Definition: d3dx11tex.h:163
HRESULT WINAPI D3DX11SHProjectCubeMap(ID3D11DeviceContext *pContext, __in_range(2, 6) UINT Order, ID3D11Texture2D *pCubeMap, __out_ecount(Order *Order) FLOAT *pROut, __out_ecount_opt(Order *Order) FLOAT *pGOut, __out_ecount_opt(Order *Order) FLOAT *pBOut)
DXGI_FORMAT Format
Definition: d3dx11tex.h:218
D3D11_RESOURCE_DIMENSION
Definition: d3d11.h:1154
Definition: d3dx11tex.h:165
D3DX11_SAVE_TEXTURE_FLAG
Definition: d3dx11tex.h:177
Definition: d3dx11tex.h:111
Definition: d3dx11tex.h:275
HRESULT WINAPI D3DX11CreateTextureFromFileA(ID3D11Device *pDevice, LPCSTR pSrcFile, D3DX11_IMAGE_LOAD_INFO *pLoadInfo, ID3DX11ThreadPump *pPump, ID3D11Resource **ppTexture, HRESULT *pHResult)
HRESULT WINAPI D3DX11GetImageInfoFromResourceA(HMODULE hSrcModule, LPCSTR pSrcResource, ID3DX11ThreadPump *pPump, D3DX11_IMAGE_INFO *pSrcInfo, HRESULT *pHResult)
HRESULT WINAPI D3DX11CreateShaderResourceViewFromFileW(ID3D11Device *pDevice, LPCWSTR pSrcFile, D3DX11_IMAGE_LOAD_INFO *pLoadInfo, ID3DX11ThreadPump *pPump, ID3D11ShaderResourceView **ppShaderResourceView, HRESULT *pHResult)
D3D11_USAGE
Definition: d3d11.h:1204
HRESULT WINAPI D3DX11CreateShaderResourceViewFromResourceW(ID3D11Device *pDevice, HMODULE hSrcModule, LPCWSTR pSrcResource, D3DX11_IMAGE_LOAD_INFO *pLoadInfo, ID3DX11ThreadPump *pPump, ID3D11ShaderResourceView **ppShaderResourceView, HRESULT *pHResult)
UINT FirstMipLevel
Definition: d3dx11tex.h:280
UINT Height
Definition: d3dx11tex.h:278
Definition: d3dx11tex.h:179
Definition: d3dx11tex.h:144
Definition: d3dx11tex.h:71
UINT MiscFlags
Definition: d3dx11tex.h:285
UINT BindFlags
Definition: d3dx11tex.h:283
Definition: d3dx11tex.h:142
Definition: d3dx11tex.h:76
UINT Width
Definition: d3dx11tex.h:212
UINT Filter
Definition: d3dx11tex.h:287
D3DX11_IMAGE_FILE_FORMAT ImageFileFormat
Definition: d3dx11tex.h:220
HRESULT WINAPI D3DX11GetImageInfoFromFileW(LPCWSTR pSrcFile, ID3DX11ThreadPump *pPump, D3DX11_IMAGE_INFO *pSrcInfo, HRESULT *pHResult)
HRESULT WINAPI D3DX11FilterTexture(ID3D11DeviceContext *pContext, ID3D11Resource *pTexture, UINT SrcLevel, UINT MipFilter)
Definition: d3dx11tex.h:112
D3DX11_IMAGE_INFO * pSrcInfo
Definition: d3dx11tex.h:289
Definition: d3dx11tex.h:210
Definition: d3dx11tex.h:159
Definition: d3dx11tex.h:141
struct D3DX11_IMAGE_INFO D3DX11_IMAGE_INFO
DXGI_FORMAT Format
Definition: d3dx11tex.h:286
UINT Filter
Definition: d3dx11tex.h:585
UINT Height
Definition: d3dx11tex.h:213
interface ID3D11DeviceContext ID3D11DeviceContext
Definition: d3d11.h:252
HRESULT WINAPI D3DX11SaveTextureToMemory(ID3D11DeviceContext *pContext, ID3D11Resource *pSrcTexture, D3DX11_IMAGE_FILE_FORMAT DestFormat, ID3D10Blob **ppDestBuf, UINT Flags)
UINT MipFilter
Definition: d3dx11tex.h:586
Definition: d3dx11tex.h:114
Definition: glslang_tab.cpp:136
Definition: d3dx11tex.h:162
HRESULT WINAPI D3DX11GetImageInfoFromResourceW(HMODULE hSrcModule, LPCWSTR pSrcResource, ID3DX11ThreadPump *pPump, D3DX11_IMAGE_INFO *pSrcInfo, HRESULT *pHResult)
HRESULT WINAPI D3DX11CreateTextureFromFileW(ID3D11Device *pDevice, LPCWSTR pSrcFile, D3DX11_IMAGE_LOAD_INFO *pLoadInfo, ID3DX11ThreadPump *pPump, ID3D11Resource **ppTexture, HRESULT *pHResult)
Definition: d3dx11tex.h:164
#define D3DX11_DEFAULT
Definition: d3dx11.h:26
Definition: d3dx11tex.h:70
Definition: d3dx11tex.h:115
Definition: d3dx11tex.h:75
UINT Depth
Definition: d3dx11tex.h:214
HRESULT WINAPI D3DX11SaveTextureToFileW(ID3D11DeviceContext *pContext, ID3D11Resource *pSrcTexture, D3DX11_IMAGE_FILE_FORMAT DestFormat, LPCWSTR pDestFile)
UINT CpuAccessFlags
Definition: d3dx11tex.h:284
HRESULT WINAPI D3DX11GetImageInfoFromFileA(LPCSTR pSrcFile, ID3DX11ThreadPump *pPump, D3DX11_IMAGE_INFO *pSrcInfo, HRESULT *pHResult)
HRESULT WINAPI D3DX11CreateTextureFromResourceW(ID3D11Device *pDevice, HMODULE hSrcModule, LPCWSTR pSrcResource, D3DX11_IMAGE_LOAD_INFO *pLoadInfo, ID3DX11ThreadPump *pPump, ID3D11Resource **ppTexture, HRESULT *pHResult)
Definition: d3dx11tex.h:83
D3D11_BOX * pDstBox
Definition: d3dx11tex.h:578
HRESULT WINAPI D3DX11CreateShaderResourceViewFromFileA(ID3D11Device *pDevice, LPCSTR pSrcFile, D3DX11_IMAGE_LOAD_INFO *pLoadInfo, ID3DX11ThreadPump *pPump, ID3D11ShaderResourceView **ppShaderResourceView, HRESULT *pHResult)
UINT SrcFirstElement
Definition: d3dx11tex.h:582
D3DX11_FILTER_FLAG
Definition: d3dx11tex.h:65
HRESULT WINAPI D3DX11CreateTextureFromResourceA(ID3D11Device *pDevice, HMODULE hSrcModule, LPCSTR pSrcResource, D3DX11_IMAGE_LOAD_INFO *pLoadInfo, ID3DX11ThreadPump *pPump, ID3D11Resource **ppTexture, HRESULT *pHResult)
Definition: d3dx11tex.h:113
UINT MipLevels
Definition: d3dx11tex.h:216
HRESULT WINAPI D3DX11LoadTextureFromTexture(ID3D11DeviceContext *pContext, ID3D11Resource *pSrcTexture, D3DX11_TEXTURE_LOAD_INFO *pLoadInfo, ID3D11Resource *pDstTexture)