mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
105 lines
2.6 KiB
Plaintext
105 lines
2.6 KiB
Plaintext
/*
|
|
* Copyright 2010 Matteo Bruni for CodeWeavers
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
*/
|
|
|
|
import "oaidl.idl";
|
|
import "ocidl.idl";
|
|
|
|
typedef struct _D3D_SHADER_MACRO
|
|
{
|
|
LPCSTR Name;
|
|
LPCSTR Definition;
|
|
} D3D_SHADER_MACRO;
|
|
|
|
typedef struct _D3D_SHADER_MACRO* LPD3D_SHADER_MACRO;
|
|
|
|
[
|
|
object,
|
|
local,
|
|
uuid(8ba5fb08-5195-40e2-ac58-0d989c3a0102)
|
|
]
|
|
interface ID3D10Blob : IUnknown
|
|
{
|
|
void *GetBufferPointer();
|
|
SIZE_T GetBufferSize();
|
|
}
|
|
|
|
typedef ID3D10Blob* LPD3D10BLOB;
|
|
typedef ID3D10Blob ID3DBlob;
|
|
typedef ID3DBlob* LPD3DBLOB;
|
|
cpp_quote("#define IID_ID3DBlob IID_ID3D10Blob")
|
|
|
|
typedef enum _D3D_INCLUDE_TYPE
|
|
{
|
|
D3D_INCLUDE_LOCAL = 0,
|
|
D3D_INCLUDE_SYSTEM,
|
|
D3D10_INCLUDE_LOCAL = D3D_INCLUDE_LOCAL,
|
|
D3D10_INCLUDE_SYSTEM = D3D_INCLUDE_SYSTEM,
|
|
D3D_INCLUDE_FORCE_DWORD = 0x7fffffff
|
|
} D3D_INCLUDE_TYPE;
|
|
|
|
[
|
|
object,
|
|
local,
|
|
]
|
|
interface ID3DInclude
|
|
{
|
|
HRESULT Open(D3D_INCLUDE_TYPE include_type,
|
|
const char *filename,
|
|
const void *parent_data,
|
|
const void **data,
|
|
UINT *bytes);
|
|
HRESULT Close(const void *data);
|
|
}
|
|
|
|
typedef ID3DInclude* LPD3DINCLUDE;
|
|
|
|
typedef enum _D3D_SHADER_VARIABLE_CLASS
|
|
{
|
|
D3D_SVC_SCALAR,
|
|
D3D_SVC_VECTOR,
|
|
D3D_SVC_MATRIX_ROWS,
|
|
D3D_SVC_MATRIX_COLUMNS,
|
|
D3D_SVC_OBJECT,
|
|
D3D_SVC_STRUCT,
|
|
D3D_SVC_INTERFACE_CLASS,
|
|
D3D_SVC_INTERFACE_POINTER,
|
|
D3D10_SVC_SCALAR = 0,
|
|
D3D10_SVC_VECTOR,
|
|
D3D10_SVC_MATRIX_ROWS,
|
|
D3D10_SVC_MATRIX_COLUMNS,
|
|
D3D10_SVC_OBJECT,
|
|
D3D10_SVC_STRUCT,
|
|
D3D11_SVC_INTERFACE_CLASS,
|
|
D3D11_SVC_INTERFACE_POINTER,
|
|
D3D_SVC_FORCE_DWORD = 0x7fffffff,
|
|
} D3D_SHADER_VARIABLE_CLASS;
|
|
|
|
typedef enum D3D_CBUFFER_TYPE
|
|
{
|
|
D3D_CT_CBUFFER,
|
|
D3D_CT_TBUFFER,
|
|
D3D_CT_INTERFACE_POINTERS,
|
|
D3D_CT_RESOURCE_BIND_INFO,
|
|
D3D10_CT_CBUFFER = 0,
|
|
D3D10_CT_TBUFFER,
|
|
D3D11_CT_CBUFFER = 0,
|
|
D3D11_CT_TBUFFER,
|
|
D3D11_CT_INTERFACE_POINTERS,
|
|
D3D11_CT_RESOURCE_BIND_INFO,
|
|
} D3D_CBUFFER_TYPE;
|