26 #include "BaseInterfacesGL.h" 28 #include "ShaderBase.h" 29 #include "RenderDevice.h" 30 #include "GLObjectWrapper.h" 31 #include "GLProgram.h" 36 class FixedBlockMemoryAllocator;
38 inline GLenum GetGLShaderType(
SHADER_TYPE ShaderType)
52 inline GLenum ShaderTypeToGLShaderBit(
SHADER_TYPE ShaderType)
77 virtual void QueryInterface(
const Diligent::INTERFACE_ID &IID, IObject **ppInterface )
override;
81 GLProgram& GetGlProgram(){
return m_GlProgObj;}
88 GLProgram m_GlProgObj;
89 GLObjectWrappers::GLShaderObj m_GLShaderObj;
Implementation of the Diligent::IShaderGL interface.
Definition: ShaderGLImpl.h:67
Shader resource variable.
Definition: Shader.h:265
SHADER_TYPE
Describes the shader type.
Definition: Shader.h:46
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34
Implementation of the Diligent::IDeviceContextGL interface.
Definition: DeviceContextGLImpl.h:35
Pixel (fragment) shader.
Definition: Shader.h:50
Template class implementing base functionality for a shader object.
Definition: ShaderBase.h:172
Hull (tessellation control) shader.
Definition: Shader.h:52
Resouce mapping.
Definition: ResourceMapping.h:80
Domain (tessellation evaluation) shader.
Definition: Shader.h:53
Implementation of the render device interface in OpenGL.
Definition: RenderDeviceGLImpl.h:53
Implementation of the Diligent::IPipelineStateGL interface.
Definition: PipelineStateGLImpl.h:39
Vertex shader.
Definition: Shader.h:49
virtual void BindResources(IResourceMapping *pResourceMapping, Uint32 Flags) override
Binds shader resources.
Definition: ShaderGLImpl.cpp:317
virtual IShaderVariable * GetShaderVariable(const Char *Name) override
Returns an interface to a shader variable. If the shader variable is not found, an interface to a dum...
Definition: ShaderGLImpl.cpp:334
virtual void QueryInterface(const Diligent::INTERFACE_ID &IID, IObject **ppInterface) override
Queries the specific interface, see IObject::QueryInterface() for details.
Compute shader.
Definition: Shader.h:54
Shader creation attributes.
Definition: Shader.h:204
Geometry shader.
Definition: Shader.h:51