📄 d3d10.h
字号:
#ifdef COBJMACROS
#define ID3D10DeviceChild_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10DeviceChild_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10DeviceChild_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10DeviceChild_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10DeviceChild_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10DeviceChild_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10DeviceChild_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10DeviceChild_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d10_0000_0001 */
/* [local] */
typedef
enum D3D10_COMPARISON_FUNC
{ D3D10_COMPARISON_NEVER = 1,
D3D10_COMPARISON_LESS = 2,
D3D10_COMPARISON_EQUAL = 3,
D3D10_COMPARISON_LESS_EQUAL = 4,
D3D10_COMPARISON_GREATER = 5,
D3D10_COMPARISON_NOT_EQUAL = 6,
D3D10_COMPARISON_GREATER_EQUAL = 7,
D3D10_COMPARISON_ALWAYS = 8
} D3D10_COMPARISON_FUNC;
typedef
enum D3D10_DEPTH_WRITE_MASK
{ D3D10_DEPTH_WRITE_MASK_ZERO = 0,
D3D10_DEPTH_WRITE_MASK_ALL = 1
} D3D10_DEPTH_WRITE_MASK;
typedef
enum D3D10_STENCIL_OP
{ D3D10_STENCIL_OP_KEEP = 1,
D3D10_STENCIL_OP_ZERO = 2,
D3D10_STENCIL_OP_REPLACE = 3,
D3D10_STENCIL_OP_INCR_SAT = 4,
D3D10_STENCIL_OP_DECR_SAT = 5,
D3D10_STENCIL_OP_INVERT = 6,
D3D10_STENCIL_OP_INCR = 7,
D3D10_STENCIL_OP_DECR = 8
} D3D10_STENCIL_OP;
typedef struct D3D10_DEPTH_STENCILOP_DESC
{
D3D10_STENCIL_OP StencilFailOp;
D3D10_STENCIL_OP StencilDepthFailOp;
D3D10_STENCIL_OP StencilPassOp;
D3D10_COMPARISON_FUNC StencilFunc;
} D3D10_DEPTH_STENCILOP_DESC;
typedef struct D3D10_DEPTH_STENCIL_DESC
{
BOOL DepthEnable;
D3D10_DEPTH_WRITE_MASK DepthWriteMask;
D3D10_COMPARISON_FUNC DepthFunc;
BOOL StencilEnable;
UINT8 StencilReadMask;
UINT8 StencilWriteMask;
D3D10_DEPTH_STENCILOP_DESC FrontFace;
D3D10_DEPTH_STENCILOP_DESC BackFace;
} D3D10_DEPTH_STENCIL_DESC;
extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0001_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0001_v0_0_s_ifspec;
#ifndef __ID3D10DepthStencilState_INTERFACE_DEFINED__
#define __ID3D10DepthStencilState_INTERFACE_DEFINED__
/* interface ID3D10DepthStencilState */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D10DepthStencilState;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2B4B1CC8-A4AD-41f8-8322-CA86FC3EC675")
ID3D10DepthStencilState : public ID3D10DeviceChild
{
public:
virtual void STDMETHODCALLTYPE GetDesc(
/* */
__out D3D10_DEPTH_STENCIL_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10DepthStencilStateVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10DepthStencilState * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10DepthStencilState * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10DepthStencilState * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10DepthStencilState * This,
/* */
__out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10DepthStencilState * This,
/* */
__in REFGUID guid,
/* */
__inout UINT *pDataSize,
/* */
__out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10DepthStencilState * This,
/* */
__in REFGUID guid,
/* */
__in UINT DataSize,
/* */
__in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10DepthStencilState * This,
/* */
__in REFGUID guid,
/* */
__in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10DepthStencilState * This,
/* */
__out D3D10_DEPTH_STENCIL_DESC *pDesc);
END_INTERFACE
} ID3D10DepthStencilStateVtbl;
interface ID3D10DepthStencilState
{
CONST_VTBL struct ID3D10DepthStencilStateVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10DepthStencilState_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10DepthStencilState_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10DepthStencilState_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10DepthStencilState_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10DepthStencilState_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10DepthStencilState_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10DepthStencilState_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10DepthStencilState_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10DepthStencilState_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d10_0000_0002 */
/* [local] */
typedef
enum D3D10_BLEND
{ D3D10_BLEND_ZERO = 1,
D3D10_BLEND_ONE = 2,
D3D10_BLEND_SRC_COLOR = 3,
D3D10_BLEND_INV_SRC_COLOR = 4,
D3D10_BLEND_SRC_ALPHA = 5,
D3D10_BLEND_INV_SRC_ALPHA = 6,
D3D10_BLEND_DEST_ALPHA = 7,
D3D10_BLEND_INV_DEST_ALPHA = 8,
D3D10_BLEND_DEST_COLOR = 9,
D3D10_BLEND_INV_DEST_COLOR = 10,
D3D10_BLEND_SRC_ALPHA_SAT = 11,
D3D10_BLEND_BLEND_FACTOR = 14,
D3D10_BLEND_INV_BLEND_FACTOR = 15,
D3D10_BLEND_SRC1_COLOR = 16,
D3D10_BLEND_INV_SRC1_COLOR = 17,
D3D10_BLEND_SRC1_ALPHA = 18,
D3D10_BLEND_INV_SRC1_ALPHA = 19
} D3D10_BLEND;
typedef
enum D3D10_BLEND_OP
{ D3D10_BLEND_OP_ADD = 1,
D3D10_BLEND_OP_SUBTRACT = 2,
D3D10_BLEND_OP_REV_SUBTRACT = 3,
D3D10_BLEND_OP_MIN = 4,
D3D10_BLEND_OP_MAX = 5
} D3D10_BLEND_OP;
typedef
enum D3D10_COLOR_WRITE_ENABLE
{ D3D10_COLOR_WRITE_ENABLE_RED = 1,
D3D10_COLOR_WRITE_ENABLE_GREEN = 2,
D3D10_COLOR_WRITE_ENABLE_BLUE = 4,
D3D10_COLOR_WRITE_ENABLE_ALPHA = 8,
D3D10_COLOR_WRITE_ENABLE_ALL = ( ( ( D3D10_COLOR_WRITE_ENABLE_RED | D3D10_COLOR_WRITE_ENABLE_GREEN ) | D3D10_COLOR_WRITE_ENABLE_BLUE ) | D3D10_COLOR_WRITE_ENABLE_ALPHA )
} D3D10_COLOR_WRITE_ENABLE;
typedef struct D3D10_BLEND_DESC
{
BOOL AlphaToCoverageEnable;
BOOL BlendEnable[ 8 ];
D3D10_BLEND SrcBlend;
D3D10_BLEND DestBlend;
D3D10_BLEND_OP BlendOp;
D3D10_BLEND SrcBlendAlpha;
D3D10_BLEND DestBlendAlpha;
D3D10_BLEND_OP BlendOpAlpha;
UINT8 RenderTargetWriteMask[ 8 ];
} D3D10_BLEND_DESC;
extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0002_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0002_v0_0_s_ifspec;
#ifndef __ID3D10BlendState_INTERFACE_DEFINED__
#define __ID3D10BlendState_INTERFACE_DEFINED__
/* interface ID3D10BlendState */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D10BlendState;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("EDAD8D19-8A35-4d6d-8566-2EA276CDE161")
ID3D10BlendState : public ID3D10DeviceChild
{
public:
virtual void STDMETHODCALLTYPE GetDesc(
/* */
__out D3D10_BLEND_DESC *pDesc) = 0;
};
#else /* C style interface */
typedef struct ID3D10BlendStateVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ID3D10BlendState * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ID3D10BlendState * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ID3D10BlendState * This);
void ( STDMETHODCALLTYPE *GetDevice )(
ID3D10BlendState * This,
/* */
__out ID3D10Device **ppDevice);
HRESULT ( STDMETHODCALLTYPE *GetPrivateData )(
ID3D10BlendState * This,
/* */
__in REFGUID guid,
/* */
__inout UINT *pDataSize,
/* */
__out_bcount_opt(*pDataSize) void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateData )(
ID3D10BlendState * This,
/* */
__in REFGUID guid,
/* */
__in UINT DataSize,
/* */
__in_bcount_opt(DataSize) const void *pData);
HRESULT ( STDMETHODCALLTYPE *SetPrivateDataInterface )(
ID3D10BlendState * This,
/* */
__in REFGUID guid,
/* */
__in_opt const IUnknown *pData);
void ( STDMETHODCALLTYPE *GetDesc )(
ID3D10BlendState * This,
/* */
__out D3D10_BLEND_DESC *pDesc);
END_INTERFACE
} ID3D10BlendStateVtbl;
interface ID3D10BlendState
{
CONST_VTBL struct ID3D10BlendStateVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ID3D10BlendState_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ID3D10BlendState_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ID3D10BlendState_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ID3D10BlendState_GetDevice(This,ppDevice) \
( (This)->lpVtbl -> GetDevice(This,ppDevice) )
#define ID3D10BlendState_GetPrivateData(This,guid,pDataSize,pData) \
( (This)->lpVtbl -> GetPrivateData(This,guid,pDataSize,pData) )
#define ID3D10BlendState_SetPrivateData(This,guid,DataSize,pData) \
( (This)->lpVtbl -> SetPrivateData(This,guid,DataSize,pData) )
#define ID3D10BlendState_SetPrivateDataInterface(This,guid,pData) \
( (This)->lpVtbl -> SetPrivateDataInterface(This,guid,pData) )
#define ID3D10BlendState_GetDesc(This,pDesc) \
( (This)->lpVtbl -> GetDesc(This,pDesc) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ID3D10BlendState_INTERFACE_DEFINED__ */
/* interface __MIDL_itf_d3d10_0000_0003 */
/* [local] */
typedef struct D3D10_RASTERIZER_DESC
{
D3D10_FILL_MODE FillMode;
D3D10_CULL_MODE CullMode;
BOOL FrontCounterClockwise;
INT DepthBias;
FLOAT DepthBiasClamp;
FLOAT SlopeScaledDepthBias;
BOOL DepthClipEnable;
BOOL ScissorEnable;
BOOL MultisampleEnable;
BOOL AntialiasedLineEnable;
} D3D10_RASTERIZER_DESC;
extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0003_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_d3d10_0000_0003_v0_0_s_ifspec;
#ifndef __ID3D10RasterizerState_INTERFACE_DEFINED__
#define __ID3D10RasterizerState_INTERFACE_DEFINED__
/* interface ID3D10RasterizerState */
/* [unique][local][object][uuid] */
EXTERN_C const IID IID_ID3D10RasterizerState;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A2A07292-89AF-4345-BE2E-C53D9FBB6E9F")
ID3D10RasterizerState : public ID3D10DeviceChild
{
public:
virtual void STDMETHODCALLTYPE GetDesc(
/* */
__out D3D10_RASTERIZER_DESC *pDesc) = 0;
};
#else /* C style interface */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -