#ifndef __D3D10EFFECT_H__
#define __D3D10EFFECT_H__
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#include "d3d10.h"
typedef
enum
_D3D10_DEVICE_STATE_TYPES
{
=
1
,
D3D10_DST_OM_RENDER_TARGETS
,
D3D10_DST_OM_DEPTH_STENCIL_STATE
,
,
,
,
D3D10_DST_VS_SHADER_RESOURCES
,
D3D10_DST_VS_CONSTANT_BUFFERS
,
,
,
D3D10_DST_GS_SHADER_RESOURCES
,
D3D10_DST_GS_CONSTANT_BUFFERS
,
,
,
D3D10_DST_PS_SHADER_RESOURCES
,
D3D10_DST_PS_CONSTANT_BUFFERS
,
D3D10_DST_IA_VERTEX_BUFFERS
,
D3D10_DST_IA_INDEX_BUFFER
,
,
D3D10_DST_IA_PRIMITIVE_TOPOLOGY
,
,
D3D10_DST_RS_SCISSOR_RECTS
,
D3D10_DST_RS_RASTERIZER_STATE
,
,
}
;
#ifndef D3D10_BYTES_FROM_BITS
#define D3D10_BYTES_FROM_BITS(x) (((x) + 7) / 8)
#endif // D3D10_BYTES_FROM_BITS
typedef
struct
{
;
BYTE VSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)];
BYTE VSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)];
BYTE VSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)];
;
BYTE GSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)];
BYTE GSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)];
BYTE GSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)];
;
BYTE PSSamplers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_SAMPLER_SLOT_COUNT)];
BYTE PSShaderResources[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT)];
BYTE PSConstantBuffers[D3D10_BYTES_FROM_BITS(D3D10_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT)];
BYTE IAVertexBuffers[D3D10_BYTES_FROM_BITS(D3D10_IA_VERTEX_INPUT_RESOURCE_SLOT_COUNT)];
;
;
;
;
;
;
;
;
;
;
;
}
;
typedef interface ID3D10StateBlock ID3D10StateBlock;
typedef
struct
ID3D10StateBlock
;
typedef interface ID3D10StateBlock *LPD3D10STATEBLOCK;
DEFINE_GUID(IID_ID3D10StateBlock,
0x803425a, 0x57f5, 0x4dd6, 0x94, 0x65, 0xa8, 0x75, 0x70, 0x83, 0x4a, 0x8);
#undef INTERFACE
#define INTERFACE ID3D10StateBlock
DECLARE_INTERFACE_(ID3D10StateBlock, IUnknown)
struct
__declspec
(novtable)
:
public
{
STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
const
&
,
*
) =
0
;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ULONG, Release)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD(Capture)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD(Apply)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD(ReleaseAllDeviceObjects)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD(GetDevice)(_Out_ THIS_ ID3D10Device **ppDevice) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
) =
0
;
};
#ifdef __cplusplus
extern
"C"
{
#endif //__cplusplus
HRESULT WINAPI D3D10StateBlockMaskUnion(_In_ D3D10_STATE_BLOCK_MASK *pA, _In_ D3D10_STATE_BLOCK_MASK *pB, _Out_ D3D10_STATE_BLOCK_MASK *pResult);
HRESULT WINAPI D3D10StateBlockMaskIntersect(_In_ D3D10_STATE_BLOCK_MASK *pA, _In_ D3D10_STATE_BLOCK_MASK *pB, _Out_ D3D10_STATE_BLOCK_MASK *pResult);
__stdcall
D3D10StateBlockMaskIntersect
(
*
,
*
,
*
);
HRESULT WINAPI D3D10StateBlockMaskDifference(_In_ D3D10_STATE_BLOCK_MASK *pA, _In_ D3D10_STATE_BLOCK_MASK *pB, _Out_ D3D10_STATE_BLOCK_MASK *pResult);
__stdcall
D3D10StateBlockMaskDifference
(
*
,
*
,
*
);
HRESULT WINAPI D3D10StateBlockMaskEnableCapture(_Inout_ D3D10_STATE_BLOCK_MASK *pMask, D3D10_DEVICE_STATE_TYPES StateType, UINT RangeStart, UINT RangeLength);
__stdcall
D3D10StateBlockMaskEnableCapture
(
*
,
,
,
);
HRESULT WINAPI D3D10StateBlockMaskDisableCapture(_Inout_ D3D10_STATE_BLOCK_MASK *pMask, D3D10_DEVICE_STATE_TYPES StateType, UINT RangeStart, UINT RangeLength);
__stdcall
D3D10StateBlockMaskDisableCapture
(
*
,
,
,
);
HRESULT WINAPI D3D10StateBlockMaskEnableAll(_Out_ D3D10_STATE_BLOCK_MASK *pMask);
__stdcall
D3D10StateBlockMaskEnableAll
(
*
);
HRESULT WINAPI D3D10StateBlockMaskDisableAll(_Out_ D3D10_STATE_BLOCK_MASK *pMask);
__stdcall
D3D10StateBlockMaskDisableAll
(
*
);
BOOL WINAPI D3D10StateBlockMaskGetSetting(_In_ D3D10_STATE_BLOCK_MASK *pMask, D3D10_DEVICE_STATE_TYPES StateType, UINT Entry);
__stdcall
D3D10StateBlockMaskGetSetting
(
*
,
,
);
HRESULT WINAPI D3D10CreateStateBlock(_In_ ID3D10Device *pDevice, _In_ D3D10_STATE_BLOCK_MASK *pStateBlockMask, _Out_ ID3D10StateBlock **ppStateBlock);
#ifdef __cplusplus
}
#endif //__cplusplus
#define D3D10_EFFECT_COMPILE_CHILD_EFFECT (1 << 0)
#define D3D10_EFFECT_COMPILE_ALLOW_SLOW_OPS (1 << 1)
#define D3D10_EFFECT_SINGLE_THREADED (1 << 3)
#define D3D10_EFFECT_VARIABLE_POOLED (1 << 0)
#define D3D10_EFFECT_VARIABLE_ANNOTATION (1 << 1)
#define D3D10_EFFECT_VARIABLE_EXPLICIT_BIND_POINT (1 << 2)
typedef
struct
{
;
D3D10_SHADER_VARIABLE_CLASS
;
D3D10_SHADER_VARIABLE_TYPE
;
;
;
;
;
;
;
;
}
;
typedef interface ID3D10EffectType ID3D10EffectType;
typedef
struct
ID3D10EffectType
;
typedef interface ID3D10EffectType *LPD3D10EFFECTTYPE;
DEFINE_GUID(IID_ID3D10EffectType,
0x4e9e1ddc, 0xcd9d, 0x4772, 0xa8, 0x37, 0x0, 0x18, 0xb, 0x9b, 0x88, 0xfd);
#undef INTERFACE
#define INTERFACE ID3D10EffectType
DECLARE_INTERFACE(ID3D10EffectType)
struct
__declspec
(novtable)
{
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ D3D10_EFFECT_TYPE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD_(ID3D10EffectType*, GetMemberTypeByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectType*, GetMemberTypeByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectType*, GetMemberTypeBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(LPCSTR, GetMemberName)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
) =
0
;
STDMETHOD_(LPCSTR, GetMemberSemantic)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
) =
0
;
};
typedef
struct
_D3D10_EFFECT_VARIABLE_DESC
{
;
;
;
;
;
;
}
D3D10_EFFECT_VARIABLE_DESC
;
typedef interface ID3D10EffectVariable ID3D10EffectVariable;
typedef
struct
ID3D10EffectVariable
;
typedef interface ID3D10EffectVariable *LPD3D10EFFECTVARIABLE;
DEFINE_GUID(IID_ID3D10EffectVariable,
0xae897105, 0xe6, 0x45bf, 0xbb, 0x8e, 0x28, 0x1d, 0xd6, 0xdb, 0x8e, 0x1b);
#undef INTERFACE
#define INTERFACE ID3D10EffectVariable
typedef interface ID3D10EffectScalarVariable ID3D10EffectScalarVariable;
typedef
struct
ID3D10EffectScalarVariable
ID3D10EffectScalarVariable
;
typedef interface ID3D10EffectVectorVariable ID3D10EffectVectorVariable;
typedef
struct
ID3D10EffectVectorVariable
ID3D10EffectVectorVariable
;
typedef interface ID3D10EffectMatrixVariable ID3D10EffectMatrixVariable;
typedef
struct
ID3D10EffectMatrixVariable
ID3D10EffectMatrixVariable
;
typedef interface ID3D10EffectStringVariable ID3D10EffectStringVariable;
typedef
struct
ID3D10EffectStringVariable
ID3D10EffectStringVariable
;
typedef interface ID3D10EffectShaderResourceVariable ID3D10EffectShaderResourceVariable;
typedef
struct
ID3D10EffectShaderResourceVariable
ID3D10EffectShaderResourceVariable
;
typedef interface ID3D10EffectRenderTargetViewVariable ID3D10EffectRenderTargetViewVariable;
typedef
struct
ID3D10EffectRenderTargetViewVariable
ID3D10EffectRenderTargetViewVariable
;
typedef interface ID3D10EffectDepthStencilViewVariable ID3D10EffectDepthStencilViewVariable;
typedef
struct
ID3D10EffectDepthStencilViewVariable
ID3D10EffectDepthStencilViewVariable
;
typedef interface ID3D10EffectConstantBuffer ID3D10EffectConstantBuffer;
typedef
struct
ID3D10EffectConstantBuffer
ID3D10EffectConstantBuffer
;
typedef interface ID3D10EffectShaderVariable ID3D10EffectShaderVariable;
typedef
struct
ID3D10EffectShaderVariable
ID3D10EffectShaderVariable
;
typedef interface ID3D10EffectBlendVariable ID3D10EffectBlendVariable;
typedef
struct
ID3D10EffectBlendVariable
ID3D10EffectBlendVariable
;
typedef interface ID3D10EffectDepthStencilVariable ID3D10EffectDepthStencilVariable;
typedef
struct
ID3D10EffectDepthStencilVariable
ID3D10EffectDepthStencilVariable
;
typedef interface ID3D10EffectRasterizerVariable ID3D10EffectRasterizerVariable;
typedef
struct
ID3D10EffectRasterizerVariable
ID3D10EffectRasterizerVariable
;
typedef interface ID3D10EffectSamplerVariable ID3D10EffectSamplerVariable;
typedef
struct
ID3D10EffectSamplerVariable
ID3D10EffectSamplerVariable
;
DECLARE_INTERFACE(ID3D10EffectVariable)
struct
__declspec
(novtable)
{
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
};
typedef interface ID3D10EffectScalarVariable ID3D10EffectScalarVariable;
typedef
struct
ID3D10EffectScalarVariable
ID3D10EffectScalarVariable
;
typedef interface ID3D10EffectScalarVariable *LPD3D10EFFECTSCALARVARIABLE;
typedef
struct
ID3D10EffectScalarVariable
*
LPD3D10EFFECTSCALARVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectScalarVariable,
0xe48f7b, 0xd2c8, 0x49e8, 0xa8, 0x6c, 0x2, 0x2d, 0xee, 0x53, 0x43, 0x1f);
extern
"C"
const
IID_ID3D10EffectScalarVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectScalarVariable
DECLARE_INTERFACE_(ID3D10EffectScalarVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectScalarVariable
:
public
{
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(SetFloat)(THIS_ float Value) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
) =
0
;
STDMETHOD(GetFloat)(THIS_ _Out_ float *pValue) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
) =
0
;
STDMETHOD(SetFloatArray)(THIS_ _In_reads_(Count) float *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
,
,
) =
0
;
STDMETHOD(GetFloatArray)(THIS_ _Out_writes_(Count) float *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
,
,
) =
0
;
STDMETHOD(SetInt)(THIS_ int Value) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
int
) =
0
;
STDMETHOD(GetInt)(THIS_ _Out_ int *pValue) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
int
*
) =
0
;
STDMETHOD(SetIntArray)(THIS_ _In_reads_(Count) int *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
int
*
,
,
) =
0
;
STDMETHOD(GetIntArray)(THIS_ _Out_writes_(Count) int *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
int
*
,
,
) =
0
;
STDMETHOD(SetBool)(THIS_ BOOL Value) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
) =
0
;
STDMETHOD(GetBool)(THIS_ _Out_ BOOL *pValue) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(SetBoolArray)(THIS_ _In_reads_(Count) BOOL *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
,
,
) =
0
;
STDMETHOD(GetBoolArray)(THIS_ _Out_writes_(Count) BOOL *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
,
,
) =
0
;
};
typedef interface ID3D10EffectVectorVariable ID3D10EffectVectorVariable;
typedef
struct
ID3D10EffectVectorVariable
ID3D10EffectVectorVariable
;
typedef interface ID3D10EffectVectorVariable *LPD3D10EFFECTVECTORVARIABLE;
typedef
struct
ID3D10EffectVectorVariable
*
LPD3D10EFFECTVECTORVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectVectorVariable,
0x62b98c44, 0x1f82, 0x4c67, 0xbc, 0xd0, 0x72, 0xcf, 0x8f, 0x21, 0x7e, 0x81);
extern
"C"
const
IID_ID3D10EffectVectorVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectVectorVariable
DECLARE_INTERFACE_(ID3D10EffectVectorVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectVectorVariable
:
public
{
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(SetBoolVector) (THIS_ BOOL *pData) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(SetIntVector) (THIS_ int *pData) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
int
*
) =
0
;
STDMETHOD(SetFloatVector)(THIS_ float *pData) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
) =
0
;
STDMETHOD(GetBoolVector) (THIS_ BOOL *pData) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(GetIntVector) (THIS_ int *pData) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
int
*
) =
0
;
STDMETHOD(GetFloatVector)(THIS_ float *pData) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
) =
0
;
STDMETHOD(SetBoolVectorArray) (THIS_ BOOL *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
,
,
) =
0
;
STDMETHOD(SetIntVectorArray) (THIS_ int *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
int
*
,
,
) =
0
;
STDMETHOD(SetFloatVectorArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
,
,
) =
0
;
STDMETHOD(GetBoolVectorArray) (THIS_ BOOL *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
,
,
) =
0
;
STDMETHOD(GetIntVectorArray) (THIS_ int *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
int
*
,
,
) =
0
;
STDMETHOD(GetFloatVectorArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
,
,
) =
0
;
};
typedef interface ID3D10EffectMatrixVariable ID3D10EffectMatrixVariable;
typedef
struct
ID3D10EffectMatrixVariable
ID3D10EffectMatrixVariable
;
typedef interface ID3D10EffectMatrixVariable *LPD3D10EFFECTMATRIXVARIABLE;
typedef
struct
ID3D10EffectMatrixVariable
*
LPD3D10EFFECTMATRIXVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectMatrixVariable,
0x50666c24, 0xb82f, 0x4eed, 0xa1, 0x72, 0x5b, 0x6e, 0x7e, 0x85, 0x22, 0xe0);
extern
"C"
const
IID_ID3D10EffectMatrixVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectMatrixVariable
DECLARE_INTERFACE_(ID3D10EffectMatrixVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectMatrixVariable
:
public
{
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT ByteOffset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(SetMatrix)(THIS_ float *pData) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
) =
0
;
STDMETHOD(GetMatrix)(THIS_ float *pData) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
) =
0
;
STDMETHOD(SetMatrixArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
,
,
) =
0
;
STDMETHOD(GetMatrixArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
,
,
) =
0
;
STDMETHOD(SetMatrixTranspose)(THIS_ float *pData) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
) =
0
;
STDMETHOD(GetMatrixTranspose)(THIS_ float *pData) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
) =
0
;
STDMETHOD(SetMatrixTransposeArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
,
,
) =
0
;
STDMETHOD(GetMatrixTransposeArray)(THIS_ float *pData, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
float
*
,
,
) =
0
;
};
typedef interface ID3D10EffectStringVariable ID3D10EffectStringVariable;
typedef
struct
ID3D10EffectStringVariable
ID3D10EffectStringVariable
;
typedef interface ID3D10EffectStringVariable *LPD3D10EFFECTSTRINGVARIABLE;
typedef
struct
ID3D10EffectStringVariable
*
LPD3D10EFFECTSTRINGVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectStringVariable,
0x71417501, 0x8df9, 0x4e0a, 0xa7, 0x8a, 0x25, 0x5f, 0x97, 0x56, 0xba, 0xff);
extern
"C"
const
IID_ID3D10EffectStringVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectStringVariable
DECLARE_INTERFACE_(ID3D10EffectStringVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectStringVariable
:
public
{
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetString)(THIS_ _Out_ LPCSTR *ppString) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(GetStringArray)(THIS_ _Out_writes_(Count) LPCSTR *ppStrings, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
,
,
) =
0
;
};
typedef interface ID3D10EffectShaderResourceVariable ID3D10EffectShaderResourceVariable;
typedef
struct
ID3D10EffectShaderResourceVariable
ID3D10EffectShaderResourceVariable
;
typedef interface ID3D10EffectShaderResourceVariable *LPD3D10EFFECTSHADERRESOURCEVARIABLE;
typedef
struct
ID3D10EffectShaderResourceVariable
*
LPD3D10EFFECTSHADERRESOURCEVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectShaderResourceVariable,
0xc0a7157b, 0xd872, 0x4b1d, 0x80, 0x73, 0xef, 0xc2, 0xac, 0xd4, 0xb1, 0xfc);
extern
"C"
const
IID_ID3D10EffectShaderResourceVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectShaderResourceVariable
DECLARE_INTERFACE_(ID3D10EffectShaderResourceVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectShaderResourceVariable
:
public
{
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(SetResource)(THIS_ _In_opt_ ID3D10ShaderResourceView *pResource) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(GetResource)(THIS_ _Out_ ID3D10ShaderResourceView **ppResource) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
) =
0
;
STDMETHOD(SetResourceArray)(THIS_ _In_reads_(Count) ID3D10ShaderResourceView **ppResources, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
,
,
) =
0
;
STDMETHOD(GetResourceArray)(THIS_ _Out_writes_(Count) ID3D10ShaderResourceView **ppResources, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
,
,
) =
0
;
};
typedef interface ID3D10EffectRenderTargetViewVariable ID3D10EffectRenderTargetViewVariable;
typedef
struct
ID3D10EffectRenderTargetViewVariable
ID3D10EffectRenderTargetViewVariable
;
typedef interface ID3D10EffectRenderTargetViewVariable *LPD3D10EFFECTRENDERTARGETVIEWVARIABLE;
typedef
struct
ID3D10EffectRenderTargetViewVariable
*
LPD3D10EFFECTRENDERTARGETVIEWVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectRenderTargetViewVariable,
0x28ca0cc3, 0xc2c9, 0x40bb, 0xb5, 0x7f, 0x67, 0xb7, 0x37, 0x12, 0x2b, 0x17);
extern
"C"
const
IID_ID3D10EffectRenderTargetViewVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectRenderTargetViewVariable
DECLARE_INTERFACE_(ID3D10EffectRenderTargetViewVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectRenderTargetViewVariable
:
public
{
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(SetRenderTarget)(THIS_ _In_opt_ ID3D10RenderTargetView *pResource) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(GetRenderTarget)(THIS_ _Out_ ID3D10RenderTargetView **ppResource) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
) =
0
;
STDMETHOD(SetRenderTargetArray)(THIS_ _In_reads_(Count) ID3D10RenderTargetView **ppResources, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
,
,
) =
0
;
STDMETHOD(GetRenderTargetArray)(THIS_ _Out_writes_(Count) ID3D10RenderTargetView **ppResources, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
,
,
) =
0
;
};
typedef interface ID3D10EffectDepthStencilViewVariable ID3D10EffectDepthStencilViewVariable;
typedef
struct
ID3D10EffectDepthStencilViewVariable
ID3D10EffectDepthStencilViewVariable
;
typedef interface ID3D10EffectDepthStencilViewVariable *LPD3D10EFFECTDEPTHSTENCILVIEWVARIABLE;
typedef
struct
ID3D10EffectDepthStencilViewVariable
*
LPD3D10EFFECTDEPTHSTENCILVIEWVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectDepthStencilViewVariable,
0x3e02c918, 0xcc79, 0x4985, 0xb6, 0x22, 0x2d, 0x92, 0xad, 0x70, 0x16, 0x23);
extern
"C"
const
IID_ID3D10EffectDepthStencilViewVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectDepthStencilViewVariable
DECLARE_INTERFACE_(ID3D10EffectDepthStencilViewVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectDepthStencilViewVariable
:
public
{
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(SetDepthStencil)(THIS_ _In_opt_ ID3D10DepthStencilView *pResource) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(GetDepthStencil)(THIS_ _Out_ ID3D10DepthStencilView **ppResource) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
) =
0
;
STDMETHOD(SetDepthStencilArray)(THIS_ _In_reads_(Count) ID3D10DepthStencilView **ppResources, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
,
,
) =
0
;
STDMETHOD(GetDepthStencilArray)(THIS_ _Out_writes_(Count) ID3D10DepthStencilView **ppResources, UINT Offset, UINT Count) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
,
,
) =
0
;
};
typedef interface ID3D10EffectConstantBuffer ID3D10EffectConstantBuffer;
typedef
struct
ID3D10EffectConstantBuffer
ID3D10EffectConstantBuffer
;
typedef interface ID3D10EffectConstantBuffer *LPD3D10EFFECTCONSTANTBUFFER;
typedef
struct
ID3D10EffectConstantBuffer
*
LPD3D10EFFECTCONSTANTBUFFER
;
DEFINE_GUID(IID_ID3D10EffectConstantBuffer,
0x56648f4d, 0xcc8b, 0x4444, 0xa5, 0xad, 0xb5, 0xa3, 0xd7, 0x6e, 0x91, 0xb3);
extern
"C"
const
IID_ID3D10EffectConstantBuffer
;
#undef INTERFACE
#define INTERFACE ID3D10EffectConstantBuffer
DECLARE_INTERFACE_(ID3D10EffectConstantBuffer, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectConstantBuffer
:
public
{
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(SetConstantBuffer)(THIS_ _In_opt_ ID3D10Buffer *pConstantBuffer) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(GetConstantBuffer)(THIS_ _Out_ ID3D10Buffer **ppConstantBuffer) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
) =
0
;
STDMETHOD(SetTextureBuffer)(THIS_ _In_opt_ ID3D10ShaderResourceView *pTextureBuffer) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(GetTextureBuffer)(THIS_ _Out_ ID3D10ShaderResourceView **ppTextureBuffer) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
) =
0
;
};
typedef
struct
_D3D10_EFFECT_SHADER_DESC
{
CONST BYTE *pInputSignature; // Passed into CreateInputLayout,
;
CONST BYTE *pBytecode; // Shader bytecode
;
;
;
NumOutputSignatureEntries
;
}
;
typedef interface ID3D10EffectShaderVariable ID3D10EffectShaderVariable;
typedef
struct
ID3D10EffectShaderVariable
ID3D10EffectShaderVariable
;
typedef interface ID3D10EffectShaderVariable *LPD3D10EFFECTSHADERVARIABLE;
typedef
struct
ID3D10EffectShaderVariable
*
LPD3D10EFFECTSHADERVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectShaderVariable,
0x80849279, 0xc799, 0x4797, 0x8c, 0x33, 0x4, 0x7, 0xa0, 0x7d, 0x9e, 0x6);
extern
"C"
const
IID_ID3D10EffectShaderVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectShaderVariable
DECLARE_INTERFACE_(ID3D10EffectShaderVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectShaderVariable
:
public
{
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetShaderDesc)(THIS_ UINT ShaderIndex, _Out_ D3D10_EFFECT_SHADER_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
*
) =
0
;
STDMETHOD(GetVertexShader)(THIS_ UINT ShaderIndex, _Out_ ID3D10VertexShader **ppVS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
**
) =
0
;
STDMETHOD(GetGeometryShader)(THIS_ UINT ShaderIndex, _Out_ ID3D10GeometryShader **ppGS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
**
) =
0
;
STDMETHOD(GetPixelShader)(THIS_ UINT ShaderIndex, _Out_ ID3D10PixelShader **ppPS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
**
) =
0
;
STDMETHOD(GetInputSignatureElementDesc)(THIS_ UINT ShaderIndex, UINT Element, _Out_ D3D10_SIGNATURE_PARAMETER_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
,
D3D10_SIGNATURE_PARAMETER_DESC
*
) =
0
;
STDMETHOD(GetOutputSignatureElementDesc)(THIS_ UINT ShaderIndex, UINT Element, _Out_ D3D10_SIGNATURE_PARAMETER_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
GetOutputSignatureElementDesc
(
,
,
D3D10_SIGNATURE_PARAMETER_DESC
*
) =
0
;
};
typedef interface ID3D10EffectBlendVariable ID3D10EffectBlendVariable;
typedef
struct
ID3D10EffectBlendVariable
ID3D10EffectBlendVariable
;
typedef interface ID3D10EffectBlendVariable *LPD3D10EFFECTBLENDVARIABLE;
typedef
struct
ID3D10EffectBlendVariable
*
LPD3D10EFFECTBLENDVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectBlendVariable,
0x1fcd2294, 0xdf6d, 0x4eae, 0x86, 0xb3, 0xe, 0x91, 0x60, 0xcf, 0xb0, 0x7b);
extern
"C"
const
IID_ID3D10EffectBlendVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectBlendVariable
DECLARE_INTERFACE_(ID3D10EffectBlendVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectBlendVariable
:
public
{
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetBlendState)(THIS_ UINT Index, ID3D10BlendState **ppBlendState) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
**
) =
0
;
STDMETHOD(GetBackingStore)(THIS_ UINT Index, D3D10_BLEND_DESC *pBlendDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
*
) =
0
;
};
typedef interface ID3D10EffectDepthStencilVariable ID3D10EffectDepthStencilVariable;
typedef
struct
ID3D10EffectDepthStencilVariable
ID3D10EffectDepthStencilVariable
;
typedef interface ID3D10EffectDepthStencilVariable *LPD3D10EFFECTDEPTHSTENCILVARIABLE;
typedef
struct
ID3D10EffectDepthStencilVariable
*
LPD3D10EFFECTDEPTHSTENCILVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectDepthStencilVariable,
0xaf482368, 0x330a, 0x46a5, 0x9a, 0x5c, 0x1, 0xc7, 0x1a, 0xf2, 0x4c, 0x8d);
extern
"C"
const
IID_ID3D10EffectDepthStencilVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectDepthStencilVariable
DECLARE_INTERFACE_(ID3D10EffectDepthStencilVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectDepthStencilVariable
:
public
{
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetDepthStencilState)(THIS_ UINT Index, _Out_ ID3D10DepthStencilState **ppDepthStencilState) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
**
) =
0
;
STDMETHOD(GetBackingStore)(THIS_ UINT Index, _Out_ D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
*
) =
0
;
};
typedef interface ID3D10EffectRasterizerVariable ID3D10EffectRasterizerVariable;
typedef
struct
ID3D10EffectRasterizerVariable
ID3D10EffectRasterizerVariable
;
typedef interface ID3D10EffectRasterizerVariable *LPD3D10EFFECTRASTERIZERVARIABLE;
typedef
struct
ID3D10EffectRasterizerVariable
*
LPD3D10EFFECTRASTERIZERVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectRasterizerVariable,
0x21af9f0e, 0x4d94, 0x4ea9, 0x97, 0x85, 0x2c, 0xb7, 0x6b, 0x8c, 0xb, 0x34);
extern
"C"
const
IID_ID3D10EffectRasterizerVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectRasterizerVariable
DECLARE_INTERFACE_(ID3D10EffectRasterizerVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectRasterizerVariable
:
public
{
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRasterizerState)(THIS_ UINT Index, _Out_ ID3D10RasterizerState **ppRasterizerState) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
**
) =
0
;
STDMETHOD(GetBackingStore)(THIS_ UINT Index, _Out_ D3D10_RASTERIZER_DESC *pRasterizerDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
*
) =
0
;
};
typedef interface ID3D10EffectSamplerVariable ID3D10EffectSamplerVariable;
typedef
struct
ID3D10EffectSamplerVariable
ID3D10EffectSamplerVariable
;
typedef interface ID3D10EffectSamplerVariable *LPD3D10EFFECTSAMPLERVARIABLE;
typedef
struct
ID3D10EffectSamplerVariable
*
LPD3D10EFFECTSAMPLERVARIABLE
;
DEFINE_GUID(IID_ID3D10EffectSamplerVariable,
0x6530d5c7, 0x7e9, 0x4271, 0xa4, 0x18, 0xe7, 0xce, 0x4b, 0xd1, 0xe4, 0x80);
extern
"C"
const
IID_ID3D10EffectSamplerVariable
;
#undef INTERFACE
#define INTERFACE ID3D10EffectSamplerVariable
DECLARE_INTERFACE_(ID3D10EffectSamplerVariable, ID3D10EffectVariable)
struct
__declspec
(novtable)
ID3D10EffectSamplerVariable
:
public
{
STDMETHOD_(ID3D10EffectType*, GetType)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_VARIABLE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
D3D10_EFFECT_VARIABLE_DESC
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetMemberBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetElement)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetParentConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectScalarVariable*, AsScalar)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectScalarVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectVectorVariable*, AsVector)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectVectorVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectMatrixVariable*, AsMatrix)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectMatrixVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectStringVariable*, AsString)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectStringVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderResourceVariable*, AsShaderResource)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderResourceVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRenderTargetViewVariable*, AsRenderTargetView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRenderTargetViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilViewVariable*, AsDepthStencilView)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilViewVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, AsConstantBuffer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectShaderVariable*, AsShader)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectShaderVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectBlendVariable*, AsBlend)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectBlendVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectDepthStencilVariable*, AsDepthStencil)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectDepthStencilVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectRasterizerVariable*, AsRasterizer)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectRasterizerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10EffectSamplerVariable*, AsSampler)(THIS) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectSamplerVariable
*
__stdcall
(
void
) =
0
;
STDMETHOD(SetRawValue)(THIS_ _In_reads_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetRawValue)(THIS_ _Out_writes_bytes_(ByteCount) void *pData, UINT Offset, UINT ByteCount) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
*
,
,
) =
0
;
STDMETHOD(GetSampler)(THIS_ UINT Index, _Out_ ID3D10SamplerState **ppSampler) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
**
) =
0
;
STDMETHOD(GetBackingStore)(THIS_ UINT Index, _Out_ D3D10_SAMPLER_DESC *pSamplerDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
,
*
) =
0
;
};
typedef
struct
{
;
;
*
;
;
;
;
[
4
];
}
;
typedef
struct
{
ID3D10EffectShaderVariable
*
;
;
}
;
typedef interface ID3D10EffectPass ID3D10EffectPass;
typedef
struct
ID3D10EffectPass
;
typedef interface ID3D10EffectPass *LPD3D10EFFECTPASS;
DEFINE_GUID(IID_ID3D10EffectPass,
0x5cfbeb89, 0x1a06, 0x46e0, 0xb2, 0x82, 0xe3, 0xf9, 0xbf, 0xa3, 0x6a, 0x54);
#undef INTERFACE
#define INTERFACE ID3D10EffectPass
DECLARE_INTERFACE(ID3D10EffectPass)
struct
__declspec
(novtable)
{
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ D3D10_PASS_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(GetVertexShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(GetGeometryShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD(GetPixelShaderDesc)(THIS_ D3D10_PASS_SHADER_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD(Apply)(THIS_ UINT Flags) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
) =
0
;
STDMETHOD(ComputeStateBlockMask)(THIS_ _Out_ D3D10_STATE_BLOCK_MASK *pStateBlockMask) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
};
typedef
struct
{
;
;
;
}
;
typedef interface ID3D10EffectTechnique ID3D10EffectTechnique;
typedef
struct
ID3D10EffectTechnique
;
typedef interface ID3D10EffectTechnique *LPD3D10EFFECTTECHNIQUE;
DEFINE_GUID(IID_ID3D10EffectTechnique,
0xdb122ce8, 0xd1c9, 0x4292, 0xb2, 0x37, 0x24, 0xed, 0x3d, 0xe8, 0xb1, 0x75);
extern
"C"
const
IID_ID3D10EffectTechnique
;
#undef INTERFACE
#define INTERFACE ID3D10EffectTechnique
DECLARE_INTERFACE(ID3D10EffectTechnique)
struct
__declspec
(novtable)
{
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD(GetDesc)(THIS_ D3D10_TECHNIQUE_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetAnnotationByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectPass*, GetPassByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectPass*, GetPassByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD(ComputeStateBlockMask)(THIS_ _Out_ D3D10_STATE_BLOCK_MASK *pStateBlockMask) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
};
typedef
struct
{
;
;
;
;
;
;
}
;
typedef interface ID3D10Effect ID3D10Effect;
typedef
struct
ID3D10Effect
;
typedef interface ID3D10Effect *LPD3D10EFFECT;
DEFINE_GUID(IID_ID3D10Effect,
0x51b0ca8b, 0xec0b, 0x4519, 0x87, 0xd, 0x8e, 0xe1, 0xcb, 0x50, 0x17, 0xc7);
#undef INTERFACE
#define INTERFACE ID3D10Effect
DECLARE_INTERFACE_(ID3D10Effect, IUnknown)
struct
__declspec
(novtable)
:
public
{
STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
const
&
,
*
) =
0
;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ULONG, Release)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(BOOL, IsValid)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(BOOL, IsPool)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD(GetDevice)(THIS_ _Out_ ID3D10Device** ppDevice) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
**
) =
0
;
STDMETHOD(GetDesc)(THIS_ _Out_ D3D10_EFFECT_DESC *pDesc) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
*
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetConstantBufferByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectConstantBuffer*, GetConstantBufferByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
ID3D10EffectConstantBuffer
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetVariableByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetVariableByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectVariable*, GetVariableBySemantic)(THIS_ LPCSTR Semantic) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectTechnique*, GetTechniqueByIndex)(THIS_ UINT Index) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD_(ID3D10EffectTechnique*, GetTechniqueByName)(THIS_ LPCSTR Name) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
) =
0
;
STDMETHOD(Optimize)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(BOOL, IsOptimized)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
};
typedef interface ID3D10EffectPool ID3D10EffectPool;
typedef
struct
ID3D10EffectPool
;
typedef interface ID3D10EffectPool *LPD3D10EFFECTPOOL;
DEFINE_GUID(IID_ID3D10EffectPool,
0x9537ab04, 0x3250, 0x412e, 0x82, 0x13, 0xfc, 0xd2, 0xf8, 0x67, 0x79, 0x33);
#undef INTERFACE
#define INTERFACE ID3D10EffectPool
DECLARE_INTERFACE_(ID3D10EffectPool, IUnknown)
struct
__declspec
(novtable)
:
public
{
STDMETHOD(QueryInterface)(THIS_ REFIID iid, LPVOID *ppv) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
const
&
,
*
) =
0
;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ULONG, Release)(THIS) PURE;
virtual
__declspec
(nothrow)
__stdcall
(
void
) =
0
;
STDMETHOD_(ID3D10Effect*, AsEffect)(THIS) PURE;
virtual
__declspec
(nothrow)
*
__stdcall
(
void
) =
0
;
};
#ifdef __cplusplus
extern
"C"
{
#endif //__cplusplus
HRESULT WINAPI D3D10CompileEffectFromMemory(_In_reads_bytes_(DataLength) void *pData, SIZE_T DataLength, LPCSTR pSrcFileName, _In_opt_ CONST D3D10_SHADER_MACRO *pDefines,
__stdcall
D3D10CompileEffectFromMemory
(
void
*
,
,
,
const
*
,
_In_opt_ ID3D10Include *pInclude, UINT HLSLFlags, UINT FXFlags,
_Out_ ID3D10Blob **ppCompiledEffect, _Out_opt_ ID3D10Blob **ppErrors);
HRESULT WINAPI D3D10CreateEffectFromMemory(_In_reads_bytes_(DataLength) void *pData, SIZE_T DataLength, UINT FXFlags, _In_ ID3D10Device *pDevice,
__stdcall
D3D10CreateEffectFromMemory
(
void
*
,
,
,
*
,
_In_opt_ ID3D10EffectPool *pEffectPool, _Out_ ID3D10Effect **ppEffect);
HRESULT WINAPI D3D10CreateEffectPoolFromMemory(_In_reads_bytes_(DataLength) void *pData, SIZE_T DataLength, UINT FXFlags, _In_ ID3D10Device *pDevice,
__stdcall
D3D10CreateEffectPoolFromMemory
(
void
*
,
,
,
*
,
_Out_ ID3D10EffectPool **ppEffectPool);
HRESULT WINAPI D3D10DisassembleEffect(_In_ ID3D10Effect *pEffect, BOOL EnableColorCode, _Out_ ID3D10Blob **ppDisassembly);
#ifdef __cplusplus
}
#endif //__cplusplus
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#endif //__D3D10EFFECT_H__