Qt 5.7 | Qt 3D | Qt3DRender Namespace

Qt 5.7.1 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 | AssimpIO
class | FunctorType
class | GLTFIO
class | PropertyReaderInterface
class | QAbstractFunctor
class | QAbstractLight
class | QAbstractTexture
class | QAbstractTextureImage
class | QAlphaCoverage
class | QAlphaTest
class | QAttribute
class | QBlendEquation
class | QBlendEquationArguments
class | QBuffer
class | QBufferDataGenerator
class | QCamera
class | QCameraLens
class | QCameraSelector
class | QClearBuffers
class | QClipPlane
class | QColorMask
class | QComputeCommand
class | QCullFace
class | QDepthTest
class | QDirectionalLight
class | QDispatchCompute
class | QDithering
class | QEffect
class | QFilterKey
class | QFrameGraphNode
class | QFrontFace
class | QFrustumCulling
class | QGeometry
class | QGeometryFactory
class | QGeometryRenderer
class | QGraphicsApiFilter
class | QLayer
class | QLayerFilter
class | QMaterial
class | QMesh
class | QMultiSampleAntiAliasing
class | QNoDepthMask
class | QNoDraw
class | QObjectPicker
class | QParameter
class | QPickEvent
class | QPickTriangleEvent
class | QPickingSettings
class | QPointLight
class | QPointSize
class | QPolygonOffset
class | QRenderAspect
class | QRenderPass
class | QRenderPassFilter
class | QRenderSettings
class | QRenderState
class | QRenderStateSet
class | QRenderSurfaceSelector
class | QRenderTarget
class | QRenderTargetOutput
class | QRenderTargetSelector
class | QSceneLoader
class | QScissorTest
class | QSeamlessCubemap
class | QShaderData
class | QShaderProgram
class | QSortCriterion
class | QSortPolicy
class | QSpotLight
class | QStencilMask
class | QStencilOperation
class | QStencilOperationArguments
class | QStencilTest
class | QStencilTestArguments
class | QTechnique
class | QTechniqueFilter
class | QTexture1D
class | QTexture1DArray
class | QTexture2D
class | QTexture2DArray
class | QTexture2DMultisample
class | QTexture2DMultisampleArray
class | QTexture3D
class | QTextureBuffer
class | QTextureCubeMap
class | QTextureCubeMapArray
class | QTextureData
class | QTextureGenerator
class | QTextureImage
class | QTextureImageData
class | QTextureImageDataGenerator
class | QTextureLoader
class | QTextureRectangle
class | QTextureWrapMode
class | QViewport

## Types

typedef | ParameterList
typedef | PropertyReaderInterfacePtr
typedef | QBufferDataGeneratorPtr
typedef | QBufferPtr
typedef | QGeometryFactoryPtr
typedef | QPickEventPtr
typedef | QTextureDataPtr
typedef | QTextureGeneratorPtr
typedef | QTextureImageDataGeneratorPtr
typedef | QTextureImageDataPtr

## Functions

qintptr | functorTypeId()
const T * | functor_cast(const QAbstractFunctor *other)
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 AssimpIO

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

### class FunctorType

### class GLTFIO

### class PropertyReaderInterface

### class QAbstractFunctor

QAbstractFunctor is an abstract base class for all functors. More...

### class QAbstractLight

Encapsulate a QAbstractLight object in a Qt 3D scene. More...

### class QAbstractTexture

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

### class QAbstractTextureImage

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

### class QAlphaCoverage

A QAlphaCoverage class More...

### class QAlphaTest

### class QAttribute

Defines an attribute and how data should be read from a QBuffer. More...

### class QBlendEquation

The QBlendEquation class specifies the equation used for both the RGB blend equation and the Alpha blend equation More...

### class QBlendEquationArguments

Encapsulates blending information: specifies how the incoming values (what's going to be drawn) are going to affect the existing values (what is already drawn). More...

### class QBuffer

Provides a data store for raw data to later be used as vertices or uniforms. More...

### class QBufferDataGenerator

### class QCamera

The QCamera class defines a view point through which the scene will be rendered. More...

### class QCameraLens

Qt3DRender::QCameraLens specifies the projection matrix that will be used to define a Camera for a 3D scene. More...

### class QCameraSelector

Class to allow for selection of camera to be used More...

### class QClearBuffers

Class to clear buffers More...

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

The QComputerCommand class More...

### class QCullFace

### class QDepthTest

### class QDirectionalLight

Encapsulate a Directional Light object in a Qt 3D scene. More...

### class QDispatchCompute

Allows a glDispatchCompute call to be issued to do work in a compute shader on the GPU. More...

### class QDithering

The QDithering class More...

### class QEffect

The base class for effects in a Qt 3D scene. More...

### class QFilterKey

The QFilterKey class provides storage for filter keys and their values. More...

### class QFrameGraphNode

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

### class QFrontFace

### class QFrustumCulling

If present, only tries to draw entities that are in the view of the camera. The camera is selected by a QCameraSelector frame graph node in the current hierarchy. More...

### class QGeometry

### class QGeometryFactory

### class QGeometryRenderer

### class QGraphicsApiFilter

The QGraphicsApiFilter class identifies the API required for the attached QTechnique More...

### class QLayer

The QLayer class provides a way of filtering which entities will be rendered. More...

### class QLayerFilter

Controls layers Drawn in a frame graph branch. More...

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

### class QNoDepthMask

### class QNoDraw

When a QNoDraw node is present in a FrameGraph branch, this prevents the renderer from rendering any primitive. 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

Provides storage for a name and value pair. More...

### class QPickEvent

The QPickEvent class holds information when an object is picked More...

### class QPickTriangleEvent

The QPickTriangleEvent class holds information when a triangle is picked More...

### class QPickingSettings

The QPickingSettings class specifies how entity picking is handled. More...

### class QPointLight

Encapsulate a Point Light object in a Qt 3D scene. More...

### class QPointSize

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

### class QPolygonOffset

### class QRenderAspect

The QRenderAspect class More...

### class QRenderPass

Encapsulates a Render Pass. More...

### class QRenderPassFilter

Provides storage for vectors of Filter Keys and Parameters More...

### class QRenderSettings

The QRenderSettings class holds settings related to rendering process and host the active FrameGraph. More...

### class QRenderState

### class QRenderStateSet

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

### class QRenderSurfaceSelector

Provides a way of specifying the render surface More...

### class QRenderTarget

The QRenderTarget class encapsulates a target (usually a frame buffer object) which the renderer can render into. More...

### class QRenderTargetOutput

The QRenderTargetOutput class allows the specification of an attachment of a render target (whether it is a color texture, a depth texture, etc... ). More...

### class QRenderTargetSelector

Provides a way of specifying a render target More...

### class QSceneLoader

Provides the facility to load an existing Scene More...

### class QScissorTest

### class QSeamlessCubemap

Enables seamless cubemap texture filtering. When present in a state set, enables the seamless cubemap texture filtering as provided by the GL_ARB_seamless_cubemap extension (if available). More...

### class QShaderData

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

### class QShaderProgram

Encapsulates a Shader Program. More...

### class QSortCriterion

### class QSortPolicy

Provides storage for the sort types to be used More...

### class QSpotLight

Encapsulate a Spot Light object in a Qt 3D scene. More...

### class QStencilMask

### class QStencilOperation

### class QStencilOperationArguments

### class QStencilTest

The QStencilTest class More...

### class QStencilTestArguments

### class QTechnique

Encapsulates a Technique. More...

### class QTechniqueFilter

Provides storage for vectors of Filter Keys and Parameters More...

### class QTexture1D

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

### class QTexture1DArray

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

### class QTexture2D

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

### class QTexture2DArray

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

### class QTexture2DMultisample

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

### class QTexture2DMultisampleArray

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

### class QTexture3D

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

### class QTextureBuffer

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

### class QTextureCubeMap

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

### class QTextureCubeMapArray

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

### class QTextureData

The QTextureData class stores texture information such as the target, height, width, depth, layers, wrap, and if mipmaps are enabled. More...

### class QTextureGenerator

### class QTextureImage

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

### class QTextureImageData

QTextureImageData stores data representing a texture. More...

### class QTextureImageDataGenerator

Provides texture image data for QAbstractTextureImage More...

### class QTextureLoader

### class QTextureRectangle

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

### class QTextureWrapMode

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

### class QViewport

A viewport on the Qt3D Scene More...

## Type Documentation

### typedef Qt3DRender::ParameterList

A list of Qt3DRender::QParameter parameters.

### typedef Qt3DRender::PropertyReaderInterfacePtr

### typedef Qt3DRender::QBufferDataGeneratorPtr

### typedef Qt3DRender::QBufferPtr

### typedef Qt3DRender::QGeometryFactoryPtr

### typedef Qt3DRender::QPickEventPtr

### typedef Qt3DRender::QTextureDataPtr

### typedef Qt3DRender::QTextureGeneratorPtr

### typedef Qt3DRender::QTextureImageDataGeneratorPtr

### typedef Qt3DRender::QTextureImageDataPtr

Shared pointer to QTextureImageData.

## Function Documentation

### qintptr Qt3DRender::functorTypeId()

### const T *Qt3DRender::functor_cast(const QAbstractFunctor *other)

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