ReactOS  0.4.15-dev-488-gc7a1924
d3d11shader.h File Reference
#include "d3dcommon.h"
Include dependency graph for d3d11shader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _D3D11_SHADER_DESC
 
struct  _D3D11_SHADER_VARIABLE_DESC
 
struct  _D3D11_SHADER_TYPE_DESC
 
struct  _D3D11_SHADER_BUFFER_DESC
 
struct  _D3D11_SHADER_INPUT_BIND_DESC
 
struct  _D3D11_SIGNATURE_PARAMETER_DESC
 

Macros

#define INTERFACE   ID3D11ShaderReflectionType
 
#define INTERFACE   ID3D11ShaderReflectionVariable
 
#define INTERFACE   ID3D11ShaderReflectionConstantBuffer
 
#define INTERFACE   ID3D11ShaderReflection
 

Typedefs

typedef D3D_CBUFFER_TYPE D3D11_CBUFFER_TYPE
 
typedef D3D_RESOURCE_RETURN_TYPE D3D11_RESOURCE_RETURN_TYPE
 
typedef D3D_TESSELLATOR_DOMAIN D3D11_TESSELLATOR_DOMAIN
 
typedef D3D_TESSELLATOR_PARTITIONING D3D11_TESSELLATOR_PARTITIONING
 
typedef D3D_TESSELLATOR_OUTPUT_PRIMITIVE D3D11_TESSELLATOR_OUTPUT_PRIMITIVE
 
typedef struct _D3D11_SHADER_DESC D3D11_SHADER_DESC
 
typedef struct _D3D11_SHADER_VARIABLE_DESC D3D11_SHADER_VARIABLE_DESC
 
typedef struct _D3D11_SHADER_TYPE_DESC D3D11_SHADER_TYPE_DESC
 
typedef struct _D3D11_SHADER_BUFFER_DESC D3D11_SHADER_BUFFER_DESC
 
typedef struct _D3D11_SHADER_INPUT_BIND_DESC D3D11_SHADER_INPUT_BIND_DESC
 
typedef struct _D3D11_SIGNATURE_PARAMETER_DESC D3D11_SIGNATURE_PARAMETER_DESC
 

Functions

 DEFINE_GUID (IID_ID3D11ShaderReflectionType, 0x6e6ffa6a, 0x9bae, 0x4613, 0xa5, 0x1e, 0x91, 0x65, 0x2d, 0x50, 0x8c, 0x21)
 
 DECLARE_INTERFACE (ID3D11ShaderReflectionType)
 
 DEFINE_GUID (IID_ID3D11ShaderReflectionVariable, 0x51f23923, 0xf3e5, 0x4bd1, 0x91, 0xcb, 0x60, 0x61, 0x77, 0xd8, 0xdb, 0x4c)
 
 DECLARE_INTERFACE (ID3D11ShaderReflectionVariable)
 
 DEFINE_GUID (IID_ID3D11ShaderReflectionConstantBuffer, 0xeb62d63d, 0x93dd, 0x4318, 0x8a, 0xe8, 0xc6, 0xf8, 0x3a, 0xd3, 0x71, 0xb8)
 
 DECLARE_INTERFACE (ID3D11ShaderReflectionConstantBuffer)
 
 DEFINE_GUID (IID_ID3D11ShaderReflection, 0x0a233719, 0x3960, 0x4578, 0x9d, 0x7c, 0x20, 0x3b, 0x8b, 0x1d, 0x9c, 0xc1)
 
 DECLARE_INTERFACE_ (ID3D11ShaderReflection, IUnknown)
 

Macro Definition Documentation

◆ INTERFACE [1/4]

#define INTERFACE   ID3D11ShaderReflectionType

Definition at line 179 of file d3d11shader.h.

◆ INTERFACE [2/4]

#define INTERFACE   ID3D11ShaderReflectionVariable

Definition at line 179 of file d3d11shader.h.

◆ INTERFACE [3/4]

#define INTERFACE   ID3D11ShaderReflectionConstantBuffer

Definition at line 179 of file d3d11shader.h.

◆ INTERFACE [4/4]

#define INTERFACE   ID3D11ShaderReflection

Definition at line 179 of file d3d11shader.h.

Typedef Documentation

◆ D3D11_CBUFFER_TYPE

Definition at line 25 of file d3d11shader.h.

◆ D3D11_RESOURCE_RETURN_TYPE

◆ D3D11_SHADER_BUFFER_DESC

◆ D3D11_SHADER_DESC

◆ D3D11_SHADER_INPUT_BIND_DESC

◆ D3D11_SHADER_TYPE_DESC

◆ D3D11_SHADER_VARIABLE_DESC

◆ D3D11_SIGNATURE_PARAMETER_DESC

◆ D3D11_TESSELLATOR_DOMAIN

Definition at line 29 of file d3d11shader.h.

◆ D3D11_TESSELLATOR_OUTPUT_PRIMITIVE

◆ D3D11_TESSELLATOR_PARTITIONING

Function Documentation

◆ DECLARE_INTERFACE() [1/3]

DECLARE_INTERFACE ( ID3D11ShaderReflectionType  )

Definition at line 138 of file d3d11shader.h.

139 {
141  STDMETHOD_(struct ID3D11ShaderReflectionType *, GetMemberTypeByIndex)(THIS_ UINT index) PURE;
142  STDMETHOD_(struct ID3D11ShaderReflectionType *, GetMemberTypeByName)(THIS_ const char *name) PURE;
143  STDMETHOD_(const char *, GetMemberTypeName)(THIS_ UINT index) PURE;
144  STDMETHOD(IsEqual)(THIS_ struct ID3D11ShaderReflectionType *type) PURE;
145  STDMETHOD_(struct ID3D11ShaderReflectionType *, GetSubType)(THIS) PURE;
146  STDMETHOD_(struct ID3D11ShaderReflectionType *, GetBaseClass)(THIS) PURE;
147  STDMETHOD_(UINT, GetNumInterfaces)(THIS) PURE;
148  STDMETHOD_(struct ID3D11ShaderReflectionType *, GetInterfaceByIndex)(THIS_ UINT index) PURE;
149  STDMETHOD(IsOfType)(THIS_ struct ID3D11ShaderReflectionType *type) PURE;
150  STDMETHOD(ImplementsInterface)(THIS_ ID3D11ShaderReflectionType *base) PURE;
151 };
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
#define STDMETHOD(m)
Definition: basetyps.h:62
GLuint base
Definition: 3dtext.c:35
static const WCHAR desc[]
Definition: protectdata.c:36
#define index(s, c)
Definition: various.h:29
#define PURE
Definition: basetyps.h:64
unsigned int UINT
Definition: ndis.h:50
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
GLuint const GLchar * name
Definition: glext.h:6031

◆ DECLARE_INTERFACE() [2/3]

DECLARE_INTERFACE ( ID3D11ShaderReflectionVariable  )

Definition at line 157 of file d3d11shader.h.

158 {
160  STDMETHOD_(struct ID3D11ShaderReflectionType *, GetType)(THIS) PURE;
161  STDMETHOD_(struct ID3D11ShaderReflectionConstantBuffer *, GetBuffer)(THIS) PURE;
162  STDMETHOD_(UINT, GetInterfaceSlot)(THIS_ UINT index) PURE;
163 };
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD(m)
Definition: basetyps.h:62
static const WCHAR desc[]
Definition: protectdata.c:36
INT GetType(BOOL bLocal, LPOSVERSIONINFOEX osvi, LPSERVER_INFO_102 pBuf102)
Definition: gettype.c:129
#define index(s, c)
Definition: various.h:29
#define PURE
Definition: basetyps.h:64
unsigned int UINT
Definition: ndis.h:50
#define STDMETHOD_(t, m)
Definition: basetyps.h:63

◆ DECLARE_INTERFACE() [3/3]

DECLARE_INTERFACE ( ID3D11ShaderReflectionConstantBuffer  )

Definition at line 169 of file d3d11shader.h.

170 {
172  STDMETHOD_(struct ID3D11ShaderReflectionVariable *, GetVariableByIndex)(THIS_ UINT index) PURE;
173  STDMETHOD_(struct ID3D11ShaderReflectionVariable *, GetVariableByName)(THIS_ const char *name) PURE;
174 };
#define THIS_
Definition: basetyps.h:65
#define STDMETHOD(m)
Definition: basetyps.h:62
static const WCHAR desc[]
Definition: protectdata.c:36
#define index(s, c)
Definition: various.h:29
#define PURE
Definition: basetyps.h:64
unsigned int UINT
Definition: ndis.h:50
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
GLuint const GLchar * name
Definition: glext.h:6031

◆ DECLARE_INTERFACE_()

DECLARE_INTERFACE_ ( ID3D11ShaderReflection  ,
IUnknown   
)

Definition at line 180 of file d3d11shader.h.

181 {
182  /* IUnknown methods */
186  /* ID3D11ShaderReflection methods */
188  STDMETHOD_(struct ID3D11ShaderReflectionConstantBuffer *, GetConstantBufferByIndex)(THIS_ UINT index) PURE;
189  STDMETHOD_(struct ID3D11ShaderReflectionConstantBuffer *, GetConstantBufferByName)(THIS_ const char *name) PURE;
190  STDMETHOD(GetResourceBindingDesc)(THIS_ UINT index, D3D11_SHADER_INPUT_BIND_DESC *desc) PURE;
192  STDMETHOD(GetOutputParameterDesc)(THIS_ UINT index, D3D11_SIGNATURE_PARAMETER_DESC *desc) PURE;
193  STDMETHOD(GetPatchConstantParameterDesc)(THIS_ UINT index, D3D11_SIGNATURE_PARAMETER_DESC *desc) PURE;
194  STDMETHOD_(struct ID3D11ShaderReflectionVariable *, GetVariableByName)(THIS_ const char *name) PURE;
195  STDMETHOD(GetResourceBindingDescByName)(THIS_ const char *name, D3D11_SHADER_INPUT_BIND_DESC *desc) PURE;
196  STDMETHOD_(UINT, GetMovInstructionCount)(THIS) PURE;
197  STDMETHOD_(UINT, GetMovcInstructionCount)(THIS) PURE;
198  STDMETHOD_(UINT, GetConversionInstructionCount)(THIS) PURE;
199  STDMETHOD_(UINT, GetBitwiseInstructionCount)(THIS) PURE;
200  STDMETHOD_(D3D_PRIMITIVE, GetGSInputPrimitive)(THIS) PURE;
201  STDMETHOD_(BOOL, IsSampleFrequencyShader)(THIS) PURE;
202  STDMETHOD_(UINT, GetNumInterfaceSlots)(THIS) PURE;
203  STDMETHOD(GetMinFeatureLevel)(THIS_ enum D3D_FEATURE_LEVEL *level) PURE;
204  STDMETHOD_(UINT, GetThreadGroupSize)(THIS_ UINT *sizex, UINT *sizey, UINT *sizez) PURE;
205  STDMETHOD_(UINT64, GetRequiresFlags)(THIS) PURE;
206 };
GLint level
Definition: gl.h:1546
#define REFIID
Definition: guiddef.h:118
#define THIS_
Definition: basetyps.h:65
_In_ BOOLEAN Release
Definition: classpnp.h:929
#define THIS
Definition: basetyps.h:66
REFIID riid
Definition: precomp.h:44
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
#define STDMETHOD(m)
Definition: basetyps.h:62
unsigned int BOOL
Definition: ntddk_ex.h:94
static const WCHAR desc[]
Definition: protectdata.c:36
static FILE * out
Definition: regtests2xml.c:44
#define index(s, c)
Definition: various.h:29
D3D_FEATURE_LEVEL
Definition: d3dcommon.idl:81
#define PURE
Definition: basetyps.h:64
unsigned int UINT
Definition: ndis.h:50
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
D3D_PRIMITIVE
Definition: d3dcommon.idl:267
unsigned int ULONG
Definition: retypes.h:1
unsigned long long UINT64
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
GLuint const GLchar * name
Definition: glext.h:6031

◆ DEFINE_GUID() [1/4]

DEFINE_GUID ( IID_ID3D11ShaderReflectionType  ,
0x6e6ffa6a  ,
0x9bae  ,
0x4613  ,
0xa5  ,
0x1e  ,
0x91  ,
0x65  ,
0x2d  ,
0x50  ,
0x8c  ,
0x21   
)

◆ DEFINE_GUID() [2/4]

DEFINE_GUID ( IID_ID3D11ShaderReflectionVariable  ,
0x51f23923  ,
0xf3e5  ,
0x4bd1  ,
0x91  ,
0xcb  ,
0x60  ,
0x61  ,
0x77  ,
0xd8  ,
0xdb  ,
0x4c   
)

◆ DEFINE_GUID() [3/4]

DEFINE_GUID ( IID_ID3D11ShaderReflectionConstantBuffer  ,
0xeb62d63d  ,
0x93dd  ,
0x4318  ,
0x8a  ,
0xe8  ,
0xc6  ,
0xf8  ,
0x3a  ,
0xd3  ,
0x71  ,
0xb8   
)

◆ DEFINE_GUID() [4/4]

DEFINE_GUID ( IID_ID3D11ShaderReflection  ,
0x0a233719  ,
0x3960  ,
0x4578  ,
0x9d  ,
0x7c  ,
0x20  ,
0x3b  ,
0x8b  ,
0x1d  ,
0x9c  ,
0xc1   
)