GraphicsHelperES2 Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | GraphicsHelperES2

Qt 5.6.2 Reference Documentation

# GraphicsHelperES2 Class

(Qt3DRender::Render::GraphicsHelperES2)

Inherits: | GraphicsHelperInterface

- List of all members, including inherited members

## Public Functions

| GraphicsHelperES2()
virtual | ~GraphicsHelperES2()

## Reimplemented Public Functions

virtual void | alphaTest(GLenum mode1, GLenum mode2)
virtual void | bindBufferBase(GLenum target, GLuint index, GLuint buffer)
virtual void | bindFragDataLocation(GLuint shader, const QHash<QString, int> &outputs)
virtual void | bindFrameBufferAttachment(QOpenGLTexture *texture, const Attachment &attachment)
virtual void | bindFrameBufferObject(GLuint frameBufferId)
virtual void | bindUniform(const QVariant &v, const ShaderUniform &description)
virtual void | bindUniformBlock(GLuint programId, GLuint uniformBlockIndex, GLuint uniformBlockBinding)
virtual void | blendEquation(GLenum mode)
virtual void | blendFunci(GLuint buf, GLenum sfactor, GLenum dfactor)
virtual GLuint | boundFrameBufferObject()
virtual void | buildUniformBuffer(const QVariant &v, const ShaderUniform &description, QByteArray &buffer)
virtual bool | checkFrameBufferComplete()
virtual GLuint | createFrameBufferObject()
virtual void | cullFace(GLenum mode)
virtual void | depthMask(GLenum mode)
virtual void | depthTest(GLenum mode)
virtual void | disableAlphaCoverage()
virtual void | disableClipPlane(int clipPlane)
virtual void | disablePrimitiveRestart()
virtual void | drawArrays(GLenum primitiveType, GLint first, GLsizei count)
virtual void | drawArraysInstanced(GLenum primitiveType, GLint first, GLsizei count, GLsizei instances)
virtual void | drawBuffers(GLsizei n, const int *bufs)
virtual void | drawElements(GLenum primitiveType, GLsizei primitiveCount, GLint indexType, void *indices, GLint baseVertex = 0)
virtual void | drawElementsInstanced(GLenum primitiveType, GLsizei primitiveCount, GLint indexType, void *indices, GLsizei instances, GLint baseVertex = 0, GLint baseInstance = 0)
virtual void | enableAlphaCoverage()
virtual void | enableClipPlane(int clipPlane)
virtual void | enablePrimitiveRestart(int primitiveRestartIndex)
virtual void | frontFace(GLenum mode)
virtual QSize | getRenderBufferDimensions(GLuint renderBufferId)
virtual QSize | getTextureDimensions(GLuint textureId, GLenum target, uint level = 0)
virtual void | initializeHelper(QOpenGLContext *context, QAbstractOpenGLFunctions *functions)
virtual GLint | maxClipPlaneCount()
virtual void | pointSize(bool programmable, GLfloat value)
virtual QVector<ShaderAttribute> | programAttributesAndLocations(GLuint programId)
virtual QVector<ShaderUniformBlock> | programUniformBlocks(GLuint programId)
virtual QVector<ShaderUniform> | programUniformsAndLocations(GLuint programId)
virtual void | releaseFrameBufferObject(GLuint frameBufferId)
virtual void | setVerticesPerPatch(GLint verticesPerPatch)
virtual bool | supportsFeature(Feature feature) const
virtual uint | uniformByteSize(const ShaderUniform &description)
virtual void | useProgram(GLuint programId)
virtual void | vertexAttribDivisor(GLuint index, GLuint divisor)

- 42 public functions inherited from Qt3DRender::Render::GraphicsHelperInterface

## Member Function Documentation

### GraphicsHelperES2::GraphicsHelperES2()

Default constructs an instance of GraphicsHelperES2.

### `[virtual]` GraphicsHelperES2::~GraphicsHelperES2()

Destroys the instance of GraphicsHelperES2. The destructor is virtual.

### `[virtual]` void GraphicsHelperES2::alphaTest(GLenum mode1, GLenum mode2)

### `[virtual]` void GraphicsHelperES2::bindBufferBase(GLenum target, GLuint index, GLuint buffer)

### `[virtual]` void GraphicsHelperES2::bindFragDataLocation(GLuint shader, const QHash<QString, int> &outputs)

### `[virtual]` void GraphicsHelperES2::bindFrameBufferAttachment(QOpenGLTexture *texture, const Attachment &attachment)

### `[virtual]` void GraphicsHelperES2::bindFrameBufferObject(GLuint frameBufferId)

### `[virtual]` void GraphicsHelperES2::bindUniform(const QVariant &v, const ShaderUniform &description)

### `[virtual]` void GraphicsHelperES2::bindUniformBlock(GLuint programId, GLuint uniformBlockIndex, GLuint uniformBlockBinding)

### `[virtual]` void GraphicsHelperES2::blendEquation(GLenum mode)

### `[virtual]` void GraphicsHelperES2::blendFunci(GLuint buf, GLenum sfactor, GLenum dfactor)

### `[virtual]` GLuint GraphicsHelperES2::boundFrameBufferObject()

### `[virtual]` void GraphicsHelperES2::buildUniformBuffer(const QVariant &v, const ShaderUniform &description, QByteArray &buffer)

### `[virtual]` bool GraphicsHelperES2::checkFrameBufferComplete()

### `[virtual]` GLuint GraphicsHelperES2::createFrameBufferObject()

### `[virtual]` void GraphicsHelperES2::cullFace(GLenum mode)

### `[virtual]` void GraphicsHelperES2::depthMask(GLenum mode)

### `[virtual]` void GraphicsHelperES2::depthTest(GLenum mode)

### `[virtual]` void GraphicsHelperES2::disableAlphaCoverage()

### `[virtual]` void GraphicsHelperES2::disableClipPlane(int clipPlane)

### `[virtual]` void GraphicsHelperES2::disablePrimitiveRestart()

### `[virtual]` void GraphicsHelperES2::drawArrays(GLenum primitiveType, GLint first, GLsizei count)

### `[virtual]` void GraphicsHelperES2::drawArraysInstanced(GLenum primitiveType, GLint first, GLsizei count, GLsizei instances)

### `[virtual]` void GraphicsHelperES2::drawBuffers(GLsizei n, const int *bufs)

### `[virtual]` void GraphicsHelperES2::drawElements(GLenum primitiveType, GLsizei primitiveCount, GLint indexType, void *indices, GLint baseVertex = 0)

### `[virtual]` void GraphicsHelperES2::drawElementsInstanced(GLenum primitiveType, GLsizei primitiveCount, GLint indexType, void *indices, GLsizei instances, GLint baseVertex = 0, GLint baseInstance = 0)

### `[virtual]` void GraphicsHelperES2::enableAlphaCoverage()

### `[virtual]` void GraphicsHelperES2::enableClipPlane(int clipPlane)

### `[virtual]` void GraphicsHelperES2::enablePrimitiveRestart(int primitiveRestartIndex)

### `[virtual]` void GraphicsHelperES2::frontFace(GLenum mode)

### `[virtual]` QSize GraphicsHelperES2::getRenderBufferDimensions(GLuint renderBufferId)

### `[virtual]` QSize GraphicsHelperES2::getTextureDimensions(GLuint textureId, GLenum target, uint level = 0)

### `[virtual]` void GraphicsHelperES2::initializeHelper(QOpenGLContext *context, QAbstractOpenGLFunctions *functions)

### `[virtual]` GLint GraphicsHelperES2::maxClipPlaneCount()

### `[virtual]` void GraphicsHelperES2::pointSize(bool programmable, GLfloat value)

### `[virtual]` QVector<ShaderAttribute> GraphicsHelperES2::programAttributesAndLocations(GLuint programId)

### `[virtual]` QVector<ShaderUniformBlock> GraphicsHelperES2::programUniformBlocks(GLuint programId)

### `[virtual]` QVector<ShaderUniform> GraphicsHelperES2::programUniformsAndLocations(GLuint programId)

### `[virtual]` void GraphicsHelperES2::releaseFrameBufferObject(GLuint frameBufferId)

### `[virtual]` void GraphicsHelperES2::setVerticesPerPatch(GLint verticesPerPatch)

### `[virtual]` bool GraphicsHelperES2::supportsFeature(Feature feature) const

### `[virtual]` uint GraphicsHelperES2::uniformByteSize(const ShaderUniform &description)

### `[virtual]` void GraphicsHelperES2::useProgram(GLuint programId)

### `[virtual]` void GraphicsHelperES2::vertexAttribDivisor(GLuint index, GLuint divisor)