Renderer Class | Qt 3D 5.6

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

Qt 5.6.2 Reference Documentation

# Renderer Class

(Qt3DRender::Render::Renderer)

Inherits: | AbstractRenderer

- List of all members, including inherited members

## Public Functions

| Renderer(QRenderAspect::RenderType type)
| ~Renderer()
void | addAllocator(Qt3DCore::QFrameAllocator *allocator)
QGraphicsApiFilter * | contextInfo() const
Qt3DCore::QAspectJobPtr | createRenderViewJob(FrameGraphNode *node, int submitOrderIndex)
Qt3DCore::QFrameAllocator * | currentFrameAllocator()
HEffect | defaultEffectHandle() const
HMaterial | defaultMaterialHandle() const
HRenderPass | defaultRenderPassHandle() const
RenderStateSet * | defaultRenderState() const
HTechnique | defaultTechniqueHandle() const
void | enqueueRenderView(RenderView *renderView, int submitOrder)
void | executeCommands(const QVector<RenderCommand *> &commands)
QMutex * | mutex()
QList<QMouseEvent> | pendingPickingEvents() const
void | setOpenGLContext(QOpenGLContext *context)
bool | submitRenderViews()
QThreadStorage<Qt3DCore::QFrameAllocator *> * | tlsAllocators()
Attribute * | updateBuffersAndAttributes(Geometry *geometry, RenderCommand *command, GLsizei &count, bool forceUpdate)

## Reimplemented Public Functions

virtual API | api() const
virtual void | createAllocators(Qt3DCore::QAbstractAspectJobManager *jobManager)
virtual void | destroyAllocators(Qt3DCore::QAbstractAspectJobManager *jobManager)
virtual void | doRender()
virtual Qt3DCore::QAbstractFrameAdvanceService * | frameAdvanceService() const
virtual FrameGraphNode * | frameGraphRoot() const
virtual void | initialize()
virtual bool | isRunning() const
virtual NodeManagers * | nodeManagers() const
virtual Qt3DCore::QAspectJobPtr | pickBoundingVolumeJob()
virtual void | registerEventFilter(Qt3DCore::QEventFilterService *service)
virtual void | render()
virtual QVector<Qt3DCore::QAspectJobPtr> | renderBinJobs()
virtual Entity * | sceneRoot() const
virtual Qt3DCore::QServiceLocator * | services() const
virtual void | setFrameGraphRoot(const Qt3DCore::QNodeId fgRootId)
virtual void | setNodeManagers(NodeManagers *managers)
virtual void | setSceneRoot(Qt3DCore::QBackendNodeFactory *factory, Entity *sgRoot)
virtual void | setServices(Qt3DCore::QServiceLocator *services)
virtual void | setSurface(QSurface *s)
virtual void | setSurfaceExposed(bool exposed)
virtual void | setTime(qint64 time)
virtual void | shutdown()
virtual QSurface * | surface() const
virtual qint64 | time() const

- 25 public functions inherited from Qt3DRender::Render::AbstractRenderer

## Member Function Documentation

### Renderer::Renderer(QRenderAspect::RenderType type)

Default constructs an instance of Renderer.

### Renderer::~Renderer()

Destroys the instance of Renderer.

### void Renderer::addAllocator(Qt3DCore::QFrameAllocator *allocator)

### `[virtual]` API Renderer::api() const

### QGraphicsApiFilter *Renderer::contextInfo() const

### `[virtual]` void Renderer::createAllocators(Qt3DCore::QAbstractAspectJobManager *jobManager)

### Qt3DCore::QAspectJobPtr Renderer::createRenderViewJob(FrameGraphNode *node, int submitOrderIndex)

### Qt3DCore::QFrameAllocator *Renderer::currentFrameAllocator()

### HEffect Renderer::defaultEffectHandle() const

### HMaterial Renderer::defaultMaterialHandle() const

### HRenderPass Renderer::defaultRenderPassHandle() const

### RenderStateSet *Renderer::defaultRenderState() const

### HTechnique Renderer::defaultTechniqueHandle() const

### `[virtual]` void Renderer::destroyAllocators(Qt3DCore::QAbstractAspectJobManager *jobManager)

### `[virtual]` void Renderer::doRender()

### void Renderer::enqueueRenderView(RenderView *renderView, int submitOrder)

### void Renderer::executeCommands(const QVector<RenderCommand *> &commands)

### `[virtual]` Qt3DCore::QAbstractFrameAdvanceService *Renderer::frameAdvanceService() const

### `[virtual]` FrameGraphNode *Renderer::frameGraphRoot() const

See also setFrameGraphRoot().

### `[virtual]` void Renderer::initialize()

### `[virtual]` bool Renderer::isRunning() const

### QMutex *Renderer::mutex()

### `[virtual]` NodeManagers *Renderer::nodeManagers() const

See also setNodeManagers().

### QList<QMouseEvent> Renderer::pendingPickingEvents() const

### `[virtual]` Qt3DCore::QAspectJobPtr Renderer::pickBoundingVolumeJob()

### `[virtual]` void Renderer::registerEventFilter(Qt3DCore::QEventFilterService *service)

### `[virtual]` void Renderer::render()

### `[virtual]` QVector<Qt3DCore::QAspectJobPtr> Renderer::renderBinJobs()

### `[virtual]` Entity *Renderer::sceneRoot() const

See also setSceneRoot().

### `[virtual]` Qt3DCore::QServiceLocator *Renderer::services() const

See also setServices().

### `[virtual]` void Renderer::setFrameGraphRoot(const Qt3DCore::QNodeId fgRootId)

See also frameGraphRoot().

### `[virtual]` void Renderer::setNodeManagers(NodeManagers *managers)

See also nodeManagers().

### void Renderer::setOpenGLContext(QOpenGLContext *context)

### `[virtual]` void Renderer::setSceneRoot(Qt3DCore::QBackendNodeFactory *factory, Entity *sgRoot)

See also sceneRoot().

### `[virtual]` void Renderer::setServices(Qt3DCore::QServiceLocator *services)

See also services().

### `[virtual]` void Renderer::setSurface(QSurface *s)

See also surface().

### `[virtual]` void Renderer::setSurfaceExposed(bool exposed)

### `[virtual]` void Renderer::setTime(qint64 time)

See also time().

### `[virtual]` void Renderer::shutdown()

### bool Renderer::submitRenderViews()

### `[virtual]` QSurface *Renderer::surface() const

See also setSurface().

### `[virtual]` qint64 Renderer::time() const

See also setTime().

### QThreadStorage<Qt3DCore::QFrameAllocator *> *Renderer::tlsAllocators()

### Attribute *Renderer::updateBuffersAndAttributes(Geometry *geometry, RenderCommand *command, GLsizei &count, bool forceUpdate)