1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

include: Added D3DX11_TEXTURE_LOAD_INFO struct.

This commit is contained in:
Alistair Leslie-Hughes 2023-08-01 18:02:52 +10:00 committed by Alexandre Julliard
parent e69785eee1
commit 9f375360d6

View file

@ -103,6 +103,36 @@ typedef struct D3DX11_IMAGE_LOAD_INFO
#endif
} D3DX11_IMAGE_LOAD_INFO;
typedef struct _D3DX11_TEXTURE_LOAD_INFO
{
D3D11_BOX *pSrcBox;
D3D11_BOX *pDstBox;
UINT SrcFirstMip;
UINT DstFirstMip;
UINT NumMips;
UINT SrcFirstElement;
UINT DstFirstElement;
UINT NumElements;
UINT Filter;
UINT MipFilter;
#ifdef __cplusplus
_D3DX11_TEXTURE_LOAD_INFO()
{
pSrcBox = NULL;
pDstBox = NULL;
SrcFirstMip = 0;
DstFirstMip = 0;
NumMips = D3DX11_DEFAULT;
SrcFirstElement = 0;
DstFirstElement = 0;
NumElements = D3DX11_DEFAULT;
Filter = D3DX11_DEFAULT;
MipFilter = D3DX11_DEFAULT;
}
#endif
} D3DX11_TEXTURE_LOAD_INFO;
#ifdef __cplusplus
extern "C" {
#endif