RenderView Class

(Qt3DRender::Render::RenderView)

Public Types

class InnerData

Public Functions

RenderView()
~RenderView()
void addClearBuffers(const ClearBuffers *cb)
void addSortType(const QVector<Qt3DRender::QSortPolicy::SortType> &sortTypes)
void appendLayerFilter(const Qt3DCore::QNodeIdVector &layerIds)
const AttachmentPack &attachmentPack() const
QVector<RenderCommand *> buildComputeRenderCommands(const QVector<Entity *> &entities) const
QVector<RenderCommand *> buildDrawRenderCommands(const QVector<Entity *> &entities) const
float clearDepthValue() const
int clearStencilValue() const
QClearBuffers::BufferTypeFlags clearTypes() const
QVector<RenderCommand *> commands() const
const int *computeWorkGroups() const
qreal devicePixelRatio() const
QVector3D eyePosition() const
QVector3D eyeViewDirection() const
bool frustumCulling() const
float gamma() const
ClearBufferInfo globalClearColorBufferInfo() const
bool hasLayerFilter() const
bool isCompute() const
bool isDownloadBuffersEnable() const
Qt3DCore::QNodeIdVector layerFilter() const
QMemoryBarrier::Operations memoryBarrier() const
bool noDraw() const
NodeManagers *nodeManagers() const
RenderPassList passesAndParameters(ParameterInfoList *parameter, Entity *node, bool useDefaultMaterials = true)
Entity *renderCameraEntity() const
CameraLens *renderCameraLens() const
const Qt3DCore::QNodeId renderCaptureNodeId() const
const RenderPassFilter *renderPassFilter() const
Qt3DCore::QNodeId renderTargetId() const
Renderer *renderer() const
void setAttachmentPack(const AttachmentPack &pack)
void setCommands(QVector<RenderCommand *> &commands)
void setCompute(bool compute)
void setComputeWorkgroups(int x, int y, int z)
void setDevicePixelRatio(qreal r)
void setEnvironmentLight(EnvironmentLight *environmentLight)
void setEyePosition(const QVector3D &eyePos)
void setEyeViewDirection(const QVector3D &dir)
void setFrustumCulling(bool frustumCulling)
void setGamma(float gamma)
void setHasLayerFilter(bool filter)
void setIsDownloadBuffersEnable(bool isDownloadBuffersEnable)
void setLightSources(const QVector<LightSource> &lightSources)
void setMaterialParameterTable(const QHash<Qt3DCore::QNodeId, QVector<RenderPassParameterData>> & parameters)
void setMemoryBarrier(QMemoryBarrier::Operations barrier)
void setNoDraw(bool noDraw)
void setRenderCameraEntity(Entity *renderCameraNode)
void setRenderCameraLens(CameraLens *renderCameraLens)
void setRenderCaptureNodeId(const Qt3DCore::QNodeId nodeId)
void setRenderPassFilter(const RenderPassFilter *rpFilter)
void setRenderTargetId(Qt3DCore::QNodeId renderTargetId)
void setRenderer(Renderer *renderer)
void setStateSet(RenderStateSet *stateSet)
void setSurface(QSurface *surface)
void setSurfaceSize(const QSize &size)
void setTechniqueFilter(const TechniqueFilter *filter)
void setViewMatrix(const QMatrix4x4 &viewMatrix)
void setViewProjectionMatrix(const QMatrix4x4 &viewProjectionMatrix)
void setViewport(const QRectF &vp)
void sort()
QVector<ClearBufferInfo> specificClearColorBufferInfo() const
QVector<ClearBufferInfo> &specificClearColorBufferInfo()
RenderStateSet *stateSet() const
QSurface *surface() const
const QSize &surfaceSize() const
const TechniqueFilter *techniqueFilter() const
void updateMatrices()
QMatrix4x4 viewMatrix() const
QMatrix4x4 viewProjectionMatrix() const
QRectF viewport() const

Member Function Documentation

RenderView::RenderView()

Default constructs an instance of RenderView.

RenderView::~RenderView()

Destroys the instance of RenderView.

void RenderView::addClearBuffers(const ClearBuffers *cb)

void RenderView::addSortType(const QVector<Qt3DRender::QSortPolicy::SortType> &sortTypes)

void RenderView::appendLayerFilter(const Qt3DCore::QNodeIdVector &layerIds)

const AttachmentPack &RenderView::attachmentPack() const

See also setAttachmentPack().

QVector<RenderCommand *> RenderView::buildComputeRenderCommands(const QVector<Entity *> &entities) const

QVector<RenderCommand *> RenderView::buildDrawRenderCommands(const QVector<Entity *> &entities) const

float RenderView::clearDepthValue() const

int RenderView::clearStencilValue() const

QClearBuffers::BufferTypeFlags RenderView::clearTypes() const

QVector<RenderCommand *> RenderView::commands() const

See also setCommands().

const int *RenderView::computeWorkGroups() const

qreal RenderView::devicePixelRatio() const

See also setDevicePixelRatio().

QVector3D RenderView::eyePosition() const

See also setEyePosition().

QVector3D RenderView::eyeViewDirection() const

See also setEyeViewDirection().

bool RenderView::frustumCulling() const

See also setFrustumCulling().

float RenderView::gamma() const

See also setGamma().

ClearBufferInfo RenderView::globalClearColorBufferInfo() const

bool RenderView::hasLayerFilter() const

See also setHasLayerFilter().

bool RenderView::isCompute() const

bool RenderView::isDownloadBuffersEnable() const

See also setIsDownloadBuffersEnable().

Qt3DCore::QNodeIdVector RenderView::layerFilter() const

QMemoryBarrier::Operations RenderView::memoryBarrier() const

See also setMemoryBarrier().

bool RenderView::noDraw() const

See also setNoDraw().

NodeManagers *RenderView::nodeManagers() const

RenderPassList RenderView::passesAndParameters(ParameterInfoList *parameter, Entity *node, bool useDefaultMaterials = true)

Entity *RenderView::renderCameraEntity() const

See also setRenderCameraEntity().

CameraLens *RenderView::renderCameraLens() const

See also setRenderCameraLens().

const Qt3DCore::QNodeId RenderView::renderCaptureNodeId() const

See also setRenderCaptureNodeId().

const RenderPassFilter *RenderView::renderPassFilter() const

See also setRenderPassFilter().

Qt3DCore::QNodeId RenderView::renderTargetId() const

See also setRenderTargetId().

Renderer *RenderView::renderer() const

See also setRenderer().

void RenderView::setAttachmentPack(const AttachmentPack &pack)

See also attachmentPack().

void RenderView::setCommands(QVector<RenderCommand *> &commands)

See also commands().

void RenderView::setCompute(bool compute)

See also isCompute().

void RenderView::setComputeWorkgroups(int x, int y, int z)

void RenderView::setDevicePixelRatio(qreal r)

See also devicePixelRatio().

void RenderView::setEnvironmentLight(EnvironmentLight *environmentLight)

void RenderView::setEyePosition(const QVector3D &eyePos)

See also eyePosition().

void RenderView::setEyeViewDirection(const QVector3D &dir)

See also eyeViewDirection().

void RenderView::setFrustumCulling(bool frustumCulling)

See also frustumCulling().

void RenderView::setGamma(float gamma)

See also gamma().

void RenderView::setHasLayerFilter(bool filter)

See also hasLayerFilter().

void RenderView::setIsDownloadBuffersEnable(bool isDownloadBuffersEnable)

See also isDownloadBuffersEnable().

void RenderView::setLightSources(const QVector<LightSource> &lightSources)

void RenderView::setMaterialParameterTable(const QHash<Qt3DCore::QNodeId, QVector<RenderPassParameterData>> & parameters)

void RenderView::setMemoryBarrier(QMemoryBarrier::Operations barrier)

See also memoryBarrier().

void RenderView::setNoDraw(bool noDraw)

See also noDraw().

void RenderView::setRenderCameraEntity(Entity *renderCameraNode)

See also renderCameraEntity().

void RenderView::setRenderCameraLens(CameraLens *renderCameraLens)

See also renderCameraLens().

void RenderView::setRenderCaptureNodeId(const Qt3DCore::QNodeId nodeId)

See also renderCaptureNodeId().

void RenderView::setRenderPassFilter(const RenderPassFilter *rpFilter)

See also renderPassFilter().

void RenderView::setRenderTargetId(Qt3DCore::QNodeId renderTargetId)

See also renderTargetId().

void RenderView::setRenderer(Renderer *renderer)

See also renderer().

void RenderView::setStateSet(RenderStateSet *stateSet)

See also stateSet().

void RenderView::setSurface(QSurface *surface)

See also surface().

void RenderView::setSurfaceSize(const QSize &size)

See also surfaceSize().

void RenderView::setTechniqueFilter(const TechniqueFilter *filter)

See also techniqueFilter().

void RenderView::setViewMatrix(const QMatrix4x4 &viewMatrix)

See also viewMatrix().

void RenderView::setViewProjectionMatrix(const QMatrix4x4 &viewProjectionMatrix)

See also viewProjectionMatrix().

void RenderView::setViewport(const QRectF &vp)

See also viewport().

void RenderView::sort()

QVector<ClearBufferInfo> RenderView::specificClearColorBufferInfo() const

QVector<ClearBufferInfo> &RenderView::specificClearColorBufferInfo()

RenderStateSet *RenderView::stateSet() const

See also setStateSet().

QSurface *RenderView::surface() const

See also setSurface().

const QSize &RenderView::surfaceSize() const

See also setSurfaceSize().

const TechniqueFilter *RenderView::techniqueFilter() const

See also setTechniqueFilter().

void RenderView::updateMatrices()

QMatrix4x4 RenderView::viewMatrix() const

See also setViewMatrix().

QMatrix4x4 RenderView::viewProjectionMatrix() const

See also setViewProjectionMatrix().

QRectF RenderView::viewport() const

See also setViewport().