Qt 5.6 | Qt 3D | Qt3DRender Namespace

Qt 5.6.3 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 | FunctorType
class | GLTFParser
class | PropertyReaderInterface
class | QAbstractAttribute
class | QAbstractBuffer
class | QAbstractFunctor
class | QAbstractSceneLoader
class | QAbstractSceneParser
class | QAbstractTextureImage
class | QAbstractTextureProvider
class | QAlphaCoverage
class | QAlphaTest
class | QAnnotation
class | QAttribute
class | QBlendEquation
class | QBlendState
class | QBlendStateSeparate
class | QBoundingVolumeDebug
class | QBoundingVolumeSpecifier
class | QBuffer
class | QBufferFunctor
class | QCameraSelector
class | QClearBuffer
class | QClipPlane
class | QColorMask
class | QCuboidGeometry
class | QCuboidMesh
class | QCullFace
class | QCylinderGeometry
class | QCylinderMesh
class | QDepthMask
class | QDepthTest
class | QDiffuseMapMaterial
class | QDiffuseSpecularMapMaterial
class | QDirectionalLight
class | QDispatchCompute
class | QDithering
class | QEffect
class | QForwardRenderer
class | QFrameGraph
class | QFrameGraphNode
class | QFrameGraphSelector
class | QFrameGraphSelectorFunctor
class | QFrontFace
class | QFrustumCulling
class | QGeometry
class | QGeometryFunctor
class | QGeometryRenderer
class | QGoochMaterial
class | QGraphicsApiFilter
class | QItemModelBuffer
class | QLayer
class | QLayerFilter
class | QLight
class | QLighting
class | QMaterial
class | QMesh
class | QNoDraw
class | QNormalDiffuseMapAlphaMaterial
class | QNormalDiffuseMapMaterial
class | QNormalDiffuseSpecularMapMaterial
class | QObjectPicker
class | QParameter
class | QParameterMapping
class | QPerVertexColorMaterial
class | QPhongAlphaMaterial
class | QPhongMaterial
class | QPickEvent
class | QPlaneGeometry
class | QPlaneMesh
class | QPointLight
class | QPointSize
class | QPolygonOffset
class | QRenderAspect
class | QRenderAttachment
class | QRenderPass
class | QRenderPassFilter
class | QRenderState
class | QRenderTarget
class | QRenderTargetSelector
class | QSceneLoader
class | QSceneParserPlugin
class | QScissorTest
class | QShaderData
class | QShaderProgram
class | QSkyboxEntity
class | QSortCriterion
class | QSortMethod
class | QSphereGeometry
class | QSphereMesh
class | QSpotLight
class | QStateSet
class | QStencilMask
class | QStencilOp
class | QStencilOpSeparate
class | QStencilTest
class | QStencilTestSeparate
class | QTechnique
class | QTechniqueFilter
class | QTexImageData
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 | QTorusMesh
class | QViewport
class | QWindow

## Types

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

## Functions

qintptr | functorTypeId()
bool | operator!=(const QGraphicsApiFilter &reference, const QGraphicsApiFilter &sample)
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 FunctorType

### class GLTFParser

### class PropertyReaderInterface

### class QAbstractAttribute

### class QAbstractBuffer

### class QAbstractFunctor

### class QAbstractSceneLoader

### class QAbstractSceneParser

### class QAbstractTextureImage

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

### class QAbstractTextureProvider

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

### class QAlphaCoverage

### class QAlphaTest

### class QAnnotation

The QAnnotation class provides ... More...

### class QAttribute

### class QBlendEquation

### class QBlendState

Encapsulates blending information. More...

### class QBlendStateSeparate

Encapsulates blending information. More...

### class QBoundingVolumeDebug

### class QBoundingVolumeSpecifier

### class QBuffer

### class QBufferFunctor

### class QCameraSelector

### class QClearBuffer

### class QClipPlane

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

### class QColorMask

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

### class QCuboidGeometry

### class QCuboidMesh

A cube mesh. More...

### class QCullFace

### class QCylinderGeometry

### 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 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 QDirectionalLight

### class QDispatchCompute

### class QDithering

### class QEffect

### class QForwardRenderer

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

### class QFrameGraph

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

### class QFrameGraphNode

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

### class QFrameGraphSelector

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

### class QFrameGraphSelectorFunctor

### class QFrontFace

### class QFrustumCulling

### class QGeometry

### class QGeometryFunctor

### class QGeometryRenderer

### class QGoochMaterial

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

### class QGraphicsApiFilter

The QGraphicsApiFilter class provides ... More...

### class QItemModelBuffer

### class QLayer

The QLayer class provides ... More...

### class QLayerFilter

The QLayerFilter class provides ... More...

### class QLight

### class QLighting

### class QMaterial

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

### class QMesh

A custom mesh. More...

### 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 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 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 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 QPerVertexColorMaterial

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

### class QPhongAlphaMaterial

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

### class QPhongMaterial

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

### class QPickEvent

### class QPlaneGeometry

### class QPlaneMesh

A square planar mesh. More...

### class QPointLight

### class QPointSize

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

### class QPolygonOffset

### class QRenderAspect

### class QRenderAttachment

### class QRenderPass

### class QRenderPassFilter

### class QRenderState

### class QRenderTarget

### class QRenderTargetSelector

### class QSceneLoader

### class QSceneParserPlugin

### class QScissorTest

### class QShaderData

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

### class QShaderProgram

### class QSkyboxEntity

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

### class QSortCriterion

### class QSortMethod

### class QSphereGeometry

### class QSphereMesh

A spherical mesh. More...

### class QSpotLight

### 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 QStencilMask

### class QStencilOp

### class QStencilOpSeparate

### class QStencilTest

### class QStencilTestSeparate

### class QTechnique

### class QTechniqueFilter

### class QTexImageData

### 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 QTorusMesh

A custom mesh. More...

### class QViewport

### class QWindow

## Type Documentation

### 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::QTexImageDataPtr

### typedef Qt3DRender::QTextureDataFunctorPtr

### typedef Qt3DRender::TextureDict

## Function Documentation

### qintptr Qt3DRender::functorTypeId()

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

Returns `true` if reference and sample are different.

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

Returns `true` if reference and sample are equivalent.