Go to the documentation of this file.
33 #include "../../GraphicsEngine/interface/Shader.h"
34 #include "../../../Primitives/interface/DataBlob.h"
39 static const INTERFACE_ID IID_HLSL2GLSLConversionStream =
40 {0x1fde020a, 0x9c73, 0x4a76, {0x8a, 0xef, 0xc2, 0xc6, 0xc2, 0xcf, 0xe, 0xa5}};
43 #define DILIGENT_INTERFACE_NAME IHLSL2GLSLConversionStream
44 #include "../../../Primitives/interface/DefineInterfaceHelperMacros.h"
46 #define IHLSL2GLSLConversionStreamInclusiveMethods \
47 IObjectInclusiveMethods; \
48 IHLSL2GLSLConversionStreamMethods HLSL2GLSLConversionStream
55 const Char* EntryPoint,
57 bool IncludeDefintions,
58 const char* SamplerSuffix,
59 bool UseInOutLocationQualifiers,
64 #include "../../../Primitives/interface/UndefInterfaceHelperMacros.h"
66 #if DILIGENT_C_INTERFACE
70 # define IHLSL2GLSLConversionStream_Convert(This, ...) CALL_IFACE_METHOD(HLSL2GLSLConversionStream, Convert, This, __VA_ARGS__)
79 {0x44a21160, 0x77e0, 0x4ddc, {0xa5, 0x7e, 0xb8, 0xb8, 0xb6, 0x5b, 0x53, 0x42}};
81 #define DILIGENT_INTERFACE_NAME IHLSL2GLSLConverter
82 #include "../../../Primitives/interface/DefineInterfaceHelperMacros.h"
84 #define IHLSL2GLSLConverterInclusiveMethods \
85 IObjectInclusiveMethods; \
86 IHLSL2GLSLConverterMethods HLSL2GLSLConverter
94 const Char* InputFileName,
96 const Char* HLSLSource,
102 #include "../../../Primitives/interface/UndefInterfaceHelperMacros.h"
104 #if DILIGENT_C_INTERFACE
108 # define IHLSL2GLSLConverter_CreateStream(This, ...) CALL_IFACE_METHOD(HLSL2GLSLConverter, CreateStream, This, __VA_ARGS__)
#define DILIGENT_END_INTERFACE
Definition: DefineInterfaceHelperMacros.h:88
struct INTERFACE_ID INTERFACE_ID
Definition: InterfaceID.h:54
#define VIRTUAL
Definition: DefineInterfaceHelperMacros.h:83
char Char
Definition: BasicTypes.h:64
Base interface for a file stream.
Definition: DataBlob.h:52
SHADER_TYPE
Describes the shader type.
Definition: GraphicsTypes.h:65
#define DILIGENT_BEGIN_INTERFACE(Name, Base)
Definition: CommonDefinitions.h:97
Base interface for all dynamic objects in the engine.
Definition: Object.h:41
Definition: HLSL2GLSLConverter.h:52
Unique interface identifier.
Definition: InterfaceID.h:37
#define PURE
Definition: DefineInterfaceHelperMacros.h:85
#define DILIGENT_END_NAMESPACE
Definition: CommonDefinitions.h:86
#define CONST
Definition: DefineInterfaceHelperMacros.h:84
#define METHOD(Name)
Definition: DefineInterfaceHelperMacros.h:87
#define DILIGENT_BEGIN_NAMESPACE(Name)
Definition: CommonDefinitions.h:82
Uint16 ShaderType
Definition: DXBCUtils.cpp:70
Interface to the buffer object implemented in OpenGL.
Definition: HLSL2GLSLConverter.h:91
The library uses Direct3D-style math:
Definition: AdvancedMath.hpp:37
#define THIS_
Definition: DefineInterfaceHelperMacros.h:82