15#ifndef OSG_DispatchCompute
16#define OSG_DispatchCompute 1
31 _numGroupsX(numGroupsX),
32 _numGroupsY(numGroupsY),
33 _numGroupsZ(numGroupsZ)
47 void setComputeGroups( GLint numGroupsX, GLint numGroupsY, GLint numGroupsZ ) { _numGroupsX=numGroupsX; _numGroupsY=numGroupsY; _numGroupsZ=numGroupsZ; }
50 void getComputeGroups( GLint& numGroupsX, GLint& numGroupsY, GLint& numGroupsZ )
const{ numGroupsX=_numGroupsX; numGroupsY=_numGroupsY; numGroupsZ=_numGroupsZ; }
@ SHALLOW_COPY
Definition CopyOp:47
Definition DispatchCompute:27
void setComputeGroups(GLint numGroupsX, GLint numGroupsY, GLint numGroupsZ)
Definition DispatchCompute:47
META_Node(osg, DispatchCompute)
virtual void compileGLObjects(RenderInfo &) const
Definition DispatchCompute:40
DispatchCompute(GLint numGroupsX=0, GLint numGroupsY=0, GLint numGroupsZ=0)
Definition DispatchCompute:29
virtual VertexArrayState * createVertexArrayStateImplememtation(RenderInfo &) const
Definition DispatchCompute:42
DispatchCompute(const DispatchCompute &, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
void getComputeGroups(GLint &numGroupsX, GLint &numGroupsY, GLint &numGroupsZ) const
Definition DispatchCompute:50
GLint _numGroupsX
Definition DispatchCompute:53
virtual void drawImplementation(RenderInfo &renderInfo) const
Definition VertexArrayState:25
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19
#define OSG_EXPORT
Definition osg/Export:39