25 #include "GLObjectWrapper.h" 26 #include "GLProgramResources.h" 30 class GLProgram :
public GLObjectWrappers::GLProgramObj
33 GLProgram(
bool CreateObject );
34 GLProgram( GLProgram&& Program );
36 void InitResources(RenderDeviceGLImpl* pDeviceGLImpl,
38 const ShaderVariableDesc *VariableDesc,
40 const StaticSamplerDesc *StaticSamplers,
41 Uint32 NumStaticSamplers,
44 void BindConstantResources(IResourceMapping *pResourceMapping, Uint32 Flags);
46 const GLProgramResources& GetAllResources(){
return m_AllResources;}
47 GLProgramResources& GetConstantResources(){
return m_ConstantResources;}
50 #ifdef VERIFY_RESOURCE_BINDINGS 51 template<
typename TResArrayType>
52 void dbgVerifyBindingCompletenessHelper(TResArrayType &ResArr, GLProgramResources *pDynamicResources);
53 void dbgVerifyBindingCompleteness(GLProgramResources *pDynamicResources,
class PipelineStateGLImpl *pPSO);
57 GLProgram(
const GLProgram& Program );
58 const GLProgram& operator = (
const GLProgram& Program);
60 GLProgramResources m_AllResources;
61 GLProgramResources m_ConstantResources;
Namespace for the OpenGL implementation of the graphics engine.
Definition: BufferD3D11Impl.h:34
SHADER_VARIABLE_TYPE
Describes shader variable type that is used by ShaderVariableDesc.
Definition: Shader.h:100