#include
<oglplus/shader_storage_block.hpp>
template <> class ProgVarLocOps<tag::ShaderStorageBlock> { public: static GLint GetLocation( ProgramName program, StrCRef identifier, bool active_only ); };
Finds the location of the shader storage block specified by |
template <> class ProgVarCommonOps<tag::ShaderStorageBlock> : public ProgVarLoc<tag::ShaderStorageBlock> { public: static GLuint MaxIn(ShaderType shader_type); GLuint64 DataSize(void) const; void Binding(ShaderStorageBufferBindingPoint binding); };
Returns the maximum number of shader storage blocks for a |
|
Returns the size of the shader storage block. See |
|
Sets up the shader storage block binding. See |
template <typename T> using ShaderStorage = ProgVar< tag::ImplicitSel, tag::ShaderStorageBlock, tag::NoTypecheck, void >;
|