d3dcompiler.h: Add function pointer typedefs.
This commit is contained in:
parent
4936b8e5ec
commit
ff27c49d3c
|
@ -65,6 +65,9 @@ static const WCHAR D3DCOMPILER_DLL_W[] = {'d','3','d','c','o','m','p','i','l','e
|
||||||
HRESULT WINAPI D3DCompile(const void *data, SIZE_T data_size, const char *filename,
|
HRESULT WINAPI D3DCompile(const void *data, SIZE_T data_size, const char *filename,
|
||||||
const D3D_SHADER_MACRO *defines, ID3DInclude *include, const char *entrypoint,
|
const D3D_SHADER_MACRO *defines, ID3DInclude *include, const char *entrypoint,
|
||||||
const char *target, UINT sflags, UINT eflags, ID3DBlob **shader, ID3DBlob **error_messages);
|
const char *target, UINT sflags, UINT eflags, ID3DBlob **shader, ID3DBlob **error_messages);
|
||||||
|
typedef HRESULT (WINAPI *pD3DCompile)(const void *data, SIZE_T data_size, const char *filename,
|
||||||
|
const D3D_SHADER_MACRO *defines, ID3DInclude *include, const char *entrypoint,
|
||||||
|
const char *target, UINT sflags, UINT eflags, ID3DBlob **shader, ID3DBlob **error_messages);
|
||||||
|
|
||||||
typedef enum D3DCOMPILER_STRIP_FLAGS
|
typedef enum D3DCOMPILER_STRIP_FLAGS
|
||||||
{
|
{
|
||||||
|
@ -94,6 +97,8 @@ typedef enum D3D_BLOB_PART
|
||||||
|
|
||||||
HRESULT WINAPI D3DDisassemble(const void *data, SIZE_T data_size,
|
HRESULT WINAPI D3DDisassemble(const void *data, SIZE_T data_size,
|
||||||
UINT flags, const char *comments, ID3DBlob **disassembly);
|
UINT flags, const char *comments, ID3DBlob **disassembly);
|
||||||
|
typedef HRESULT (WINAPI *pD3DDisassemble)(const void *data, SIZE_T data_size,
|
||||||
|
UINT flags, const char *comments, ID3DBlob **disassembly);
|
||||||
HRESULT WINAPI D3DGetBlobPart(const void *data, SIZE_T data_size, D3D_BLOB_PART part, UINT flags, ID3DBlob **blob);
|
HRESULT WINAPI D3DGetBlobPart(const void *data, SIZE_T data_size, D3D_BLOB_PART part, UINT flags, ID3DBlob **blob);
|
||||||
HRESULT WINAPI D3DGetInputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob);
|
HRESULT WINAPI D3DGetInputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob);
|
||||||
HRESULT WINAPI D3DGetOutputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob);
|
HRESULT WINAPI D3DGetOutputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob);
|
||||||
|
@ -107,6 +112,9 @@ HRESULT WINAPI D3DCreateBlob(SIZE_T data_size, ID3DBlob **blob);
|
||||||
HRESULT WINAPI D3DPreprocess(const void *data, SIZE_T size, const char *filename,
|
HRESULT WINAPI D3DPreprocess(const void *data, SIZE_T size, const char *filename,
|
||||||
const D3D_SHADER_MACRO *defines, ID3DInclude *include,
|
const D3D_SHADER_MACRO *defines, ID3DInclude *include,
|
||||||
ID3DBlob **shader, ID3DBlob **error_messages);
|
ID3DBlob **shader, ID3DBlob **error_messages);
|
||||||
|
typedef HRESULT (WINAPI *pD3DPreprocess)(const void *data, SIZE_T size, const char *filename,
|
||||||
|
const D3D_SHADER_MACRO *defines, ID3DInclude *include,
|
||||||
|
ID3DBlob **shader, ID3DBlob **error_messages);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue