QGraphicsHelperInterface Class

(Qt3D::Render::QGraphicsHelperInterface)
Inherited By:

Public Types

enum Feature { MRT, Tessellation, UniformBufferObject, BindableFragmentOutputs, PrimitiveRestart }

Public Functions

virtual ~QGraphicsHelperInterface()
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 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 void initializeHelper(QOpenGLContext * context, QAbstractOpenGLFunctions * functions) = 0
virtual GLint maxClipPlaneCount() = 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 QGraphicsHelperInterface::Feature

Member Function Documentation

[virtual] QGraphicsHelperInterface::~QGraphicsHelperInterface()

[pure virtual] void QGraphicsHelperInterface::alphaTest(GLenum mode1, GLenum mode2)

[pure virtual] void QGraphicsHelperInterface::bindBufferBase(GLenum target, GLuint index, GLuint buffer)

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

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

[pure virtual] void QGraphicsHelperInterface::bindFrameBufferObject(GLuint frameBufferId)

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

[pure virtual] void QGraphicsHelperInterface::bindUniformBlock(GLuint programId, GLuint uniformBlockIndex, GLuint uniformBlockBinding)

[pure virtual] void QGraphicsHelperInterface::blendEquation(GLenum mode)

[pure virtual] GLuint QGraphicsHelperInterface::boundFrameBufferObject()

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

[pure virtual] bool QGraphicsHelperInterface::checkFrameBufferComplete()

[pure virtual] GLuint QGraphicsHelperInterface::createFrameBufferObject()

[pure virtual] void QGraphicsHelperInterface::cullFace(GLenum mode)

[pure virtual] void QGraphicsHelperInterface::depthMask(GLenum mode)

[pure virtual] void QGraphicsHelperInterface::depthTest(GLenum mode)

[pure virtual] void QGraphicsHelperInterface::disableAlphaCoverage()

[pure virtual] void QGraphicsHelperInterface::disableClipPlane(int clipPlane)

[pure virtual] void QGraphicsHelperInterface::disablePrimitiveRestart()

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

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

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

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

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

[pure virtual] void QGraphicsHelperInterface::enableAlphaCoverage()

[pure virtual] void QGraphicsHelperInterface::enableClipPlane(int clipPlane)

[pure virtual] void QGraphicsHelperInterface::enablePrimitiveRestart(int primitiveRestartIndex)

[pure virtual] void QGraphicsHelperInterface::frontFace(GLenum mode)

[pure virtual] void QGraphicsHelperInterface::initializeHelper(QOpenGLContext * context, QAbstractOpenGLFunctions * functions)

[pure virtual] GLint QGraphicsHelperInterface::maxClipPlaneCount()

[pure virtual] QVector<ShaderAttribute> QGraphicsHelperInterface::programAttributesAndLocations(GLuint programId)

[pure virtual] QVector<ShaderUniformBlock> QGraphicsHelperInterface::programUniformBlocks(GLuint programId)

[pure virtual] QVector<ShaderUniform> QGraphicsHelperInterface::programUniformsAndLocations(GLuint programId)

[pure virtual] void QGraphicsHelperInterface::releaseFrameBufferObject(GLuint frameBufferId)

[pure virtual] void QGraphicsHelperInterface::setVerticesPerPatch(GLint verticesPerPatch)

[pure virtual] bool QGraphicsHelperInterface::supportsFeature(Feature feature) const

[pure virtual] uint QGraphicsHelperInterface::uniformByteSize(const ShaderUniform & description)

[pure virtual] void QGraphicsHelperInterface::useProgram(GLuint programId)

[pure virtual] void QGraphicsHelperInterface::vertexAttribDivisor(GLuint index, GLuint divisor)

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.