Qt3DRender Namespace | Qt 3D 5.6

Qt 5.6 | Qt 3D | Qt3DRender Namespace

Qt 5.6.2 Reference Documentation

# Qt3DRender Namespace

Contains classes that enable 2D and 3D rendering. More...

Header: | #include <Qt3DRender>
qmake: | QT += 3drender

## Namespaces

namespace | AssimpHelper
namespace | Render

## Classes

class | AssimpParser
class | FaceIndices
class | FunctorType
class | GLTFParser
class | ObjLoader
class | PropertyReaderInterface
class | QAbstractAttribute
class | QAbstractAttributePrivate
class | QAbstractBuffer
class | QAbstractBufferPrivate
class | QAbstractCollisionQueryService
class | QAbstractCollisionQueryServicePrivate
class | QAbstractFunctor
class | QAbstractSceneLoader
class | QAbstractSceneLoaderPrivate
class | QAbstractSceneParser
class | QAbstractTextureImage
class | QAbstractTextureImagePrivate
class | QAbstractTextureProvider
class | QAbstractTextureProviderPrivate
class | QAlphaCoverage
class | QAlphaTest
class | QAnnotation
class | QAnnotationPrivate
class | QAttribute
class | QAttributePrivate
class | QAxisAlignedBoundingBox
class | QBlendEquation
class | QBlendState
class | QBlendStateSeparate
class | QBoundingSphere
class | QBoundingVolume
class | QBoundingVolumeDebug
class | QBoundingVolumeProvider
class | QBoundingVolumeSpecifier
class | QBuffer
class | QBufferFunctor
class | QBufferPrivate
class | QCameraSelector
class | QCameraSelectorPrivate
class | QClearBuffer
class | QClearBufferPrivate
class | QClipPlane
class | QCollisionQueryResult
class | QCollisionQueryResultPrivate
class | QColorMask
class | QCuboidGeometry
class | QCuboidGeometryPrivate
class | QCuboidMesh
class | QCullFace
class | QCylinderGeometry
class | QCylinderGeometryPrivate
class | QCylinderMesh
class | QDepthMask
class | QDepthTest
class | QDiffuseMapMaterial
class | QDiffuseMapMaterialPrivate
class | QDiffuseSpecularMapMaterial
class | QDiffuseSpecularMapMaterialPrivate
class | QDirectionalLight
class | QDirectionalLightPrivate
class | QDispatchCompute
class | QDithering
class | QEffect
class | QEffectPrivate
class | QForwardRenderer
class | QForwardRendererPrivate
class | QFrameGraph
class | QFrameGraphNode
class | QFrameGraphNodePrivate
class | QFrameGraphPrivate
class | QFrameGraphSelector
class | QFrameGraphSelectorFunctor
class | QFrameGraphSelectorPrivate
class | QFrontFace
class | QFrustumCulling
class | QGeometry
class | QGeometryFunctor
class | QGeometryPrivate
class | QGeometryRenderer
class | QGeometryRendererPrivate
class | QGoochMaterial
class | QGoochMaterialPrivate
class | QGraphicsApiFilter
class | QItemModelBuffer
class | QLayer
class | QLayerFilter
class | QLayerFilterPrivate
class | QLayerPrivate
class | QLight
class | QLightPrivate
class | QLighting
class | QLightingPrivate
class | QMaterial
class | QMaterialPrivate
class | QMesh
class | QMeshPrivate
class | QNoDraw
class | QNormalDiffuseMapAlphaMaterial
class | QNormalDiffuseMapAlphaMaterialPrivate
class | QNormalDiffuseMapMaterial
class | QNormalDiffuseMapMaterialPrivate
class | QNormalDiffuseSpecularMapMaterial
class | QNormalDiffuseSpecularMapMaterialPrivate
class | QObjectPicker
class | QParameter
class | QParameterMapping
class | QParameterMappingPrivate
class | QParameterPrivate
class | QPerVertexColorMaterial
class | QPerVertexColorMaterialPrivate
class | QPhongAlphaMaterial
class | QPhongAlphaMaterialPrivate
class | QPhongMaterial
class | QPhongMaterialPrivate
class | QPickEvent
class | QPlaneGeometry
class | QPlaneGeometryPrivate
class | QPlaneMesh
class | QPointLight
class | QPointLightPrivate
class | QPointSize
class | QPolygonOffset
class | QRayCastingService
class | QRayCastingServicePrivate
class | QRenderAspect
class | QRenderAspectPrivate
class | QRenderAttachment
class | QRenderAttachmentPrivate
class | QRenderPass
class | QRenderPassFilter
class | QRenderPassFilterPrivate
class | QRenderPassPrivate
class | QRenderState
class | QRenderStatePrivate
class | QRenderTarget
class | QRenderTargetPrivate
class | QRenderTargetSelector
class | QRenderTargetSelectorPrivate
class | QSceneLoader
class | QSceneParserFactory
class | QSceneParserPlugin
class | QScissorTest
class | QShaderData
class | QShaderDataPrivate
class | QShaderProgram
class | QShaderProgramPrivate
class | QSkyboxEntity
class | QSkyboxEntityPrivate
class | QSortCriterion
class | QSortCriterionPrivate
class | QSortMethod
class | QSortMethodPrivate
class | QSphereGeometry
class | QSphereGeometryPrivate
class | QSphereMesh
class | QSpotLight
class | QSpotLightPrivate
class | QStateSet
class | QStateSetPrivate
class | QStencilMask
class | QStencilOp
class | QStencilOpSeparate
class | QStencilTest
class | QStencilTestSeparate
class | QTechnique
class | QTechniqueFilter
class | QTechniqueFilterPrivate
class | QTechniquePrivate
class | QTexImageData
class | QTexImageDataPrivate
class | QTexture1D
class | QTexture1DArray
class | QTexture2D
class | QTexture2DArray
class | QTexture2DMultisample
class | QTexture2DMultisampleArray
class | QTexture3D
class | QTextureBuffer
class | QTextureCubeMap
class | QTextureCubeMapArray
class | QTextureDataFunctor
class | QTextureImage
class | QTextureRectangle
class | QTextureWrapMode
class | QTorusGeometry
class | QTorusGeometryPrivate
class | QTorusMesh
class | QUrlHelper
class | QViewport
class | QViewportPrivate
class | QWindow
class | QWindowPrivate

## Types

typedef | FutureQueryResult
typedef | ParameterList
typedef | PropertyReaderInterfacePtr
typedef | QAbstractBufferPtr
typedef | QAttributeList
typedef | QBufferFunctorPtr
typedef | QFrameGraphSelectorFunctorPtr
typedef | QGeometryFunctorPtr
typedef | QQueryHandle
typedef | QTexImageDataPtr
typedef | QTextureDataFunctorPtr
typedef | TextureDict

## Functions

qintptr | functorTypeId()
bool | intersects(const QAxisAlignedBoundingBox &a, const QAxisAlignedBoundingBox &b)
bool | operator!=(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
QDebug | operator<<(QDebug dbg, const QAxisAlignedBoundingBox &c)
bool | operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)

## Detailed Description

Contains classes that enable 2D and 3D rendering.

## Namespaces

### namespace Qt3DRender::AssimpHelper

### namespace Qt3DRender::Render

## Classes

### class AssimpParser

Provides a generic way of loading various 3D assets format into a Qt3D scene. More...

### class FaceIndices

### class FunctorType

### class GLTFParser

### class ObjLoader

### class PropertyReaderInterface

### class QAbstractAttribute

### class QAbstractAttributePrivate

### class QAbstractBuffer

### class QAbstractBufferPrivate

### class QAbstractCollisionQueryService

### class QAbstractCollisionQueryServicePrivate

### class QAbstractFunctor

### class QAbstractSceneLoader

### class QAbstractSceneLoaderPrivate

### class QAbstractSceneParser

### class QAbstractTextureImage

Encapsulates the necessary information to create an OpenGL texture image. More...

### class QAbstractTextureImagePrivate

### class QAbstractTextureProvider

A base class to be used to provide textures. More...

### class QAbstractTextureProviderPrivate

### class QAlphaCoverage

### class QAlphaTest

### class QAnnotation

The QAnnotation class provides ... More...

### class QAnnotationPrivate

### class QAttribute

### class QAttributePrivate

### class QAxisAlignedBoundingBox

### class QBlendEquation

### class QBlendState

Encapsulates blending information. More...

### class QBlendStateSeparate

Encapsulates blending information. More...

### class QBoundingSphere

### class QBoundingVolume

### class QBoundingVolumeDebug

### class QBoundingVolumeProvider

### class QBoundingVolumeSpecifier

### class QBuffer

### class QBufferFunctor

### class QBufferPrivate

### class QCameraSelector

### class QCameraSelectorPrivate

### class QClearBuffer

### class QClearBufferPrivate

### class QClipPlane

Enables an additional OpenGL clipping plane that can be in shaders using gl_ClipDistance More...

### class QCollisionQueryResult

### class QCollisionQueryResultPrivate

### class QColorMask

Allows specifying which color components should be written to the currently bound frame buffer. More...

### class QCuboidGeometry

### class QCuboidGeometryPrivate

### class QCuboidMesh

A cube mesh. More...

### class QCullFace

### class QCylinderGeometry

### class QCylinderGeometryPrivate

### class QCylinderMesh

A cylindrical mesh. More...

### class QDepthMask

### class QDepthTest

### class QDiffuseMapMaterial

The QDiffuseMapMaterial provides a default implementation of the phong lighting effect where the diffuse light component is read from a texture map. More...

### class QDiffuseMapMaterialPrivate

### class QDiffuseSpecularMapMaterial

The QDiffuseSpecularMapMaterial provides a default implementation of the phong lighting and bump effect where the diffuse and specular light components are read from texture maps. More...

### class QDiffuseSpecularMapMaterialPrivate

### class QDirectionalLight

### class QDirectionalLightPrivate

### class QDispatchCompute

### class QDithering

### class QEffect

### class QEffectPrivate

### class QForwardRenderer

The Qt3DRender::QForwardRenderer provides a default FrameGraph implementation of a forward renderer. More...

### class QForwardRendererPrivate

### class QFrameGraph

Defines the rendering method to be used by the renderer. More...

### class QFrameGraphNode

Base class of all FrameGraph configuration nodes. More...

### class QFrameGraphNodePrivate

### class QFrameGraphPrivate

### class QFrameGraphSelector

Qt3DRender::QFrameGraphSelector provide a way to select a one or more subtree of the FrameGraph at runtime More...

### class QFrameGraphSelectorFunctor

### class QFrameGraphSelectorPrivate

### class QFrontFace

### class QFrustumCulling

### class QGeometry

### class QGeometryFunctor

### class QGeometryPrivate

### class QGeometryRenderer

### class QGeometryRendererPrivate

### class QGoochMaterial

The QGoochMaterial provides a material that implements the Gooch shading model, popular in CAD and CAM applications. More...

### class QGoochMaterialPrivate

### class QGraphicsApiFilter

The QGraphicsApiFilter class provides ... More...

### class QItemModelBuffer

### class QLayer

The QLayer class provides ... More...

### class QLayerFilter

The QLayerFilter class provides ... More...

### class QLayerFilterPrivate

### class QLayerPrivate

### class QLight

### class QLightPrivate

### class QLighting

### class QLightingPrivate

### class QMaterial

Provides an abstract class that should be the base of all Material component classes in a scene. More...

### class QMaterialPrivate

### class QMesh

A custom mesh. More...

### class QMeshPrivate

### class QNoDraw

When a QNoDraw node is present in a FrameGraph branch, this prevents the renderer from rendering any primitive. More...

### class QNormalDiffuseMapAlphaMaterial

The QNormalDiffuseMapAlphaMaterial provides a default implementation of the phong lighting and bump effect where the diffuse light component is read from a texture map and the normals of the mesh being rendered from a normal texture map. In addition, it defines an alpha to coverage and a depth test to be performed in the rendering pass. More...

### class QNormalDiffuseMapAlphaMaterialPrivate

### class QNormalDiffuseMapMaterial

The QNormalDiffuseMapMaterial provides a default implementation of the phong lighting and bump effect where the diffuse light component is read from a texture map and the normals of the mesh being rendered from a normal texture map. More...

### class QNormalDiffuseMapMaterialPrivate

### class QNormalDiffuseSpecularMapMaterial

The QNormalDiffuseSpecularMapMaterial provides a default implementation of the phong lighting and bump effect where the diffuse and specular light components are read from texture maps and the normals of the mesh being rendered from a normal texture map. More...

### class QNormalDiffuseSpecularMapMaterialPrivate

### class QObjectPicker

The QObjectPicker class instantiates a component that can be used to interact with a QEntity by a process known as picking. More...

### class QParameter

### class QParameterMapping

The QParameterMapping class provides ... More...

### class QParameterMappingPrivate

### class QParameterPrivate

### class QPerVertexColorMaterial

The QPerVertexColorMaterial class provides a default implementation for rendering the color properties set for each vertex. More...

### class QPerVertexColorMaterialPrivate

### class QPhongAlphaMaterial

The QPhongAlphaMaterial class provides a default implementation of the phong lighting effect with alpha. More...

### class QPhongAlphaMaterialPrivate

### class QPhongMaterial

The QPhongMaterial class provides a default implementation of the phong lighting effect. More...

### class QPhongMaterialPrivate

### class QPickEvent

### class QPlaneGeometry

### class QPlaneGeometryPrivate

### class QPlaneMesh

A square planar mesh. More...

### class QPointLight

### class QPointLightPrivate

### class QPointSize

Specifies the size of rasterized points. May either be set statically or by shader programs. More...

### class QPolygonOffset

### class QRayCastingService

### class QRayCastingServicePrivate

### class QRenderAspect

### class QRenderAspectPrivate

### class QRenderAttachment

### class QRenderAttachmentPrivate

### class QRenderPass

### class QRenderPassFilter

### class QRenderPassFilterPrivate

### class QRenderPassPrivate

### class QRenderState

### class QRenderStatePrivate

### class QRenderTarget

### class QRenderTargetPrivate

### class QRenderTargetSelector

### class QRenderTargetSelectorPrivate

### class QSceneLoader

### class QSceneParserFactory

### class QSceneParserPlugin

### class QScissorTest

### class QShaderData

Provides a way of specifying values of a Uniform Block or a shader structure. More...

### class QShaderDataPrivate

### class QShaderProgram

### class QShaderProgramPrivate

### class QSkyboxEntity

Qt3DRender::QSkyboxEntity is a convenience Qt3DCore::QEntity subclass that can be used to insert a skybox in a 3D scene. More...

### class QSkyboxEntityPrivate

### class QSortCriterion

### class QSortCriterionPrivate

### class QSortMethod

### class QSortMethodPrivate

### class QSphereGeometry

### class QSphereGeometryPrivate

### class QSphereMesh

A spherical mesh. More...

### class QSpotLight

### class QSpotLightPrivate

### class QStateSet

The QStateSet FrameGraph node offers a way of specifying a set of QRenderState objects to be applied during the execution of a framegraph branch. More...

### class QStateSetPrivate

### class QStencilMask

### class QStencilOp

### class QStencilOpSeparate

### class QStencilTest

### class QStencilTestSeparate

### class QTechnique

### class QTechniqueFilter

### class QTechniqueFilterPrivate

### class QTechniquePrivate

### class QTexImageData

### class QTexImageDataPrivate

### class QTexture1D

A QAbstractTextureProvider with a Target1D target format. More...

### class QTexture1DArray

A QAbstractTextureProvider with a Target1DArray target format. More...

### class QTexture2D

A QAbstractTextureProvider with a Target2D target format. More...

### class QTexture2DArray

A QAbstractTextureProvider with a Target2DArray target format. More...

### class QTexture2DMultisample

A QAbstractTextureProvider with a Target2DMultisample target format. More...

### class QTexture2DMultisampleArray

A QAbstractTextureProvider with a Target2DMultisampleArray target format. More...

### class QTexture3D

A QAbstractTextureProvider with a Target3D target format. More...

### class QTextureBuffer

A QAbstractTextureProvider with a TargetBuffer target format. More...

### class QTextureCubeMap

A QAbstractTextureProvider with a TargetCubeMap target format. More...

### class QTextureCubeMapArray

A QAbstractTextureProvider with a TargetCubeMapArray target format. More...

### class QTextureDataFunctor

### class QTextureImage

Encapsulates the necessary information to create an OpenGL texture image from an image source. More...

### class QTextureRectangle

A QAbstractTextureProvider with a TargetRectangle target format. More...

### class QTextureWrapMode

Defines the wrap mode a Qt3DRender::QAbstractTextureProvider should apply to a texture. More...

### class QTorusGeometry

### class QTorusGeometryPrivate

### class QTorusMesh

A custom mesh. More...

### class QUrlHelper

### class QViewport

### class QViewportPrivate

### class QWindow

### class QWindowPrivate

## Type Documentation

### typedef Qt3DRender::FutureQueryResult

### typedef Qt3DRender::ParameterList

### typedef Qt3DRender::PropertyReaderInterfacePtr

### typedef Qt3DRender::QAbstractBufferPtr

### typedef Qt3DRender::QAttributeList

A vector of {QAbstractAttribute}s.

### typedef Qt3DRender::QBufferFunctorPtr

### typedef Qt3DRender::QFrameGraphSelectorFunctorPtr

### typedef Qt3DRender::QGeometryFunctorPtr

### typedef Qt3DRender::QQueryHandle

### typedef Qt3DRender::QTexImageDataPtr

### typedef Qt3DRender::QTextureDataFunctorPtr

### typedef Qt3DRender::TextureDict

## Function Documentation

### qintptr Qt3DRender::functorTypeId()

### bool Qt3DRender::intersects(const QAxisAlignedBoundingBox &a, const QAxisAlignedBoundingBox &b)

### bool Qt3DRender::operator!=(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)

Returns `true` if reference and sample are different.

### QDebug Qt3DRender::operator<<(QDebug dbg, const QAxisAlignedBoundingBox &c)

### bool Qt3DRender::operator==(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)

Returns `true` if reference and sample are equivalent.