Qt 5.9 | Qt 3D | Qt3DRender Namespace

Qt 5.9.9 Reference Documentation

# Qt3DRender Namespace

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

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

## Namespaces

namespace | AssimpHelper
namespace | Quick
namespace | Render

## Classes

class | AssimpImporter
class | FbxGeometryLoader
class | FunctorType
class | GLTFExporter
class | GLTFGeometryLoader
class | GLTFImporter
class | ObjGeometryLoader
class | PlyGeometryLoader
class | PropertyReaderInterface
class | QAbstractFunctor
class | QAbstractLight
class | QAbstractTexture
class | QAbstractTextureImage
class | QAlphaCoverage
class | QAlphaTest
class | QAttribute
class | QBlendEquation
class | QBlendEquationArguments
class | QBuffer
class | QBufferCapture
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 | QEnvironmentLight
class | QFilterKey
class | QFrameGraphNode
class | QFrameGraphNodeCreatedChange
class | QFrameGraphNodeCreatedChangeBase
class | QFrontFace
class | QFrustumCulling
class | QGeometry
class | QGeometryFactory
class | QGeometryRenderer
class | QGraphicsApiFilter
class | QLayer
class | QLayerFilter
class | QLevelOfDetail
class | QLevelOfDetailBoundingSphere
class | QLevelOfDetailSwitch
class | QMaterial
class | QMemoryBarrier
class | QMesh
class | QMultiSampleAntiAliasing
class | QNoDepthMask
class | QNoDraw
class | QObjectPicker
class | QPaintedTextureImage
class | QParameter
class | QPickEvent
class | QPickTriangleEvent
class | QPickingSettings
class | QPointLight
class | QPointSize
class | QPolygonOffset
class | QRenderAspect
class | QRenderCapture
class | QRenderCaptureReply
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 | 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
class | StlGeometryLoader

## Types

typedef | ParameterList
typedef | PropertyReaderInterfacePtr
typedef | QBufferDataGeneratorPtr
typedef | QBufferPtr
typedef | QFrameGraphNodeCreatedChangeBasePtr
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::Quick

### namespace Qt3DRender::Render

## Classes

### class AssimpImporter

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

### class FbxGeometryLoader

### class FunctorType

### class GLTFExporter

### class GLTFGeometryLoader

### class GLTFImporter

### class ObjGeometryLoader

### class PlyGeometryLoader

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

Enable alpha-to-coverage multisampling mode More...

### class QAlphaTest

The QAlphaTest class specify alpha reference test More...

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

Exchanges buffer data between GPU and CPU. More...

### class QBufferDataGenerator

Provides a mechanism to generate buffer data from a job. More...

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

QComponent to issue work for the compute shader on GPU More...

### class QCullFace

The QCullFace class specifies whether front or back face culling is enabled. More...

### class QDepthTest

The QDepthTest class tests the fragment shader's depth value against the depth of a sample being written to. More...

### class QDirectionalLight

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

### class QDispatchCompute

FrameGraph node to issue work for the compute shader on GPU More...

### class QDithering

Enable dithering More...

### class QEffect

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

### class QEnvironmentLight

Encapsulate an environment light object 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 QFrameGraphNodeCreatedChange

### class QFrameGraphNodeCreatedChangeBase

A base class for changes in the FrameGraphNode. More...

### class QFrontFace

The QFrontFace class defines front and back facing polygons. More...

### class QFrustumCulling

Enable frustum culling for the FrameGraph More...

### class QGeometry

Encapsulates geometry More...

### class QGeometryFactory

### class QGeometryRenderer

Encapsulates geometry rendering More...

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

The QLevelOfDetail class provides a way of controlling the complexity of rendered entities based on their size on the screen. More...

### class QLevelOfDetailBoundingSphere

The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by it's center and radius. More...

### class QLevelOfDetailSwitch

Provides a way of enabling child entities based on distance or screen size. More...

### class QMaterial

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

### class QMemoryBarrier

Class to emplace a memory barrier More...

### class QMesh

A custom mesh loader. More...

### class QMultiSampleAntiAliasing

Enable multisample antialiasing More...

### class QNoDepthMask

Disable depth write More...

### class QNoDraw

When a Qt3DRender::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 QPaintedTextureImage

A QAbstractTextureImage that can be written through a QPainter. More...

### class QParameter

Provides storage for a name and value pair. This maps to a shader uniform. 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

The QPolygonOffset class sets the scale and steps to calculate depth values for polygon offsets. More...

### class QRenderAspect

The QRenderAspect class More...

### class QRenderCapture

Frame graph node for render capture More...

### class QRenderCaptureReply

Receives the result of render capture request. 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

An abstract base class for all render states More...

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

The QScissorTest class discards fragments that fall outside of a certain rectangular portion of the screen. More...

### class QSeamlessCubemap

Enables seamless cubemap texture filtering. 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 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

The QStencilMask class controls the front and back writing of individual bits in the stencil planes. More...

### class QStencilOperation

The QStencilOperation class specifies stencil operation More...

### class QStencilOperationArguments

The QStencilOperationArguments class sets the actions to be taken when stencil and depth tests fail. More...

### class QStencilTest

The QStencilTest class specifies arguments for the stecil test More...

### class QStencilTestArguments

The QStencilTestArguments class specifies arguments for stencil test More...

### class QTechnique

Encapsulates a Technique. More...

### class QTechniqueFilter

A QFrameGraphNode used to select QTechniques to use 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

Handles the texture loading and setting the texture's properties. More...

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

### class StlGeometryLoader

## Type Documentation

### typedef Qt3DRender::ParameterList

A list of Qt3DRender::QParameter parameters.

### typedef Qt3DRender::PropertyReaderInterfacePtr

### typedef Qt3DRender::QBufferDataGeneratorPtr

### typedef Qt3DRender::QBufferPtr

### typedef Qt3DRender::QFrameGraphNodeCreatedChangeBasePtr

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