GraphicsHelperInterface Class | Qt 3D 5.6

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

Qt 5.6.2 Reference Documentation

# GraphicsHelperInterface Class

(Qt3DRender::Render::GraphicsHelperInterface)

- List of all members, including inherited members

## Public Types

enum | Feature { MRT, Tessellation, UniformBufferObject, BindableFragmentOutputs, ..., TextureDimensionRetrieval }

## Public Functions

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

## Member Type Documentation

### enum GraphicsHelperInterface::Feature

## Member Function Documentation

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

Destroys the instance of GraphicsHelperInterface. The destructor is virtual.

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

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

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

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

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

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

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

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

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

### `[pure virtual]` GLuint GraphicsHelperInterface::boundFrameBufferObject()

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

### `[pure virtual]` bool GraphicsHelperInterface::checkFrameBufferComplete()

### `[pure virtual]` GLuint GraphicsHelperInterface::createFrameBufferObject()

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

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

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

### `[pure virtual]` void GraphicsHelperInterface::disableAlphaCoverage()

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

### `[pure virtual]` void GraphicsHelperInterface::disablePrimitiveRestart()

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

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

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

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

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

### `[pure virtual]` void GraphicsHelperInterface::enableAlphaCoverage()

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

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

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

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

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

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

### `[pure virtual]` GLint GraphicsHelperInterface::maxClipPlaneCount()

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

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

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

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

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

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

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

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

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

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