Qt 3D Render C++ Classes | Qt 3D 5.6

Qt 5.6 | Qt 3D | Qt 3D Render C++ Classes

Qt 5.6.2 Reference Documentation

# Qt 3D Render C++ Classes

The Qt 3D Render module contains functionality to support 2D and 3D rendering using Qt 3D. More...

## Namespaces

Qt3DRender | Contains classes that enable 2D and 3D rendering

## Classes

Qt3DRender::AssimpParser | Provides a generic way of loading various 3D assets format into a Qt3D scene
Qt3DRender::QDiffuseMapMaterial | Default implementation of the phong lighting effect where the diffuse light component is read from a texture map
Qt3DRender::QDiffuseSpecularMapMaterial | Default implementation of the phong lighting and bump effect where the diffuse and specular light components are read from texture maps
Qt3DRender::QForwardRenderer | Qt3DRender::QForwardRenderer provides a default FrameGraph implementation of a forward renderer
Qt3DRender::QGoochMaterial | Material that implements the Gooch shading model, popular in CAD and CAM applications
Qt3DRender::QNormalDiffuseMapAlphaMaterial | 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
Qt3DRender::QNormalDiffuseMapMaterial | 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
Qt3DRender::QNormalDiffuseSpecularMapMaterial | 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
Qt3DRender::QPerVertexColorMaterial | Default implementation for rendering the color properties set for each vertex
Qt3DRender::QPhongMaterial | Default implementation of the phong lighting effect
Qt3DRender::QSkyboxEntity | Qt3DRender::QSkyboxEntity is a convenience Qt3DCore::QEntity subclass that can be used to insert a skybox in a 3D scene
Qt3DRender::QCameraSelector
Qt3DRender::QFrameGraph | Defines the rendering method to be used by the renderer
Qt3DRender::QFrameGraphNode | Base class of all FrameGraph configuration nodes
Qt3DRender::QFrameGraphSelector | Qt3DRender::QFrameGraphSelector provide a way to select a one or more subtree of the FrameGraph at runtime
Qt3DRender::QLayerFilter | ..
Qt3DRender::QNoDraw | When a QNoDraw node is present in a FrameGraph branch, this prevents the renderer from rendering any primitive
Qt3DRender::QStateSet | FrameGraph node offers a way of specifying a set of QRenderState objects to be applied during the execution of a framegraph branch
Qt3DRender::QLayer | ..
Qt3DRender::QAbstractAttribute
Qt3DRender::QAbstractBuffer
Qt3DRender::QBoundingVolumeSpecifier
Qt3DRender::QBuffer
Qt3DRender::QCuboidGeometry
Qt3DRender::QCuboidMesh | A cube mesh
Qt3DRender::QCylinderGeometry
Qt3DRender::QCylinderMesh | A cylindrical mesh
Qt3DRender::QGeometry
Qt3DRender::QGeometryRenderer
Qt3DRender::QMesh | A custom mesh
Qt3DRender::QPlaneGeometry
Qt3DRender::QPlaneMesh | A square planar mesh
Qt3DRender::QSphereGeometry
Qt3DRender::QSphereMesh | A spherical mesh
Qt3DRender::QTorusGeometry
Qt3DRender::QTorusMesh | A custom mesh
Qt3DRender::QLight
Qt3DRender::QPointLight
Qt3DRender::QSpotLight
Qt3DRender::QAnnotation | ..
Qt3DRender::QGraphicsApiFilter | ..
Qt3DRender::QMaterial | Provides an abstract class that should be the base of all Material component classes in a scene
Qt3DRender::QParameterMapping | ..
Qt3DRender::QShaderData | Provides a way of specifying values of a Uniform Block or a shader structure
Qt3DRender::QObjectPicker | Instantiates a component that can be used to interact with a QEntity by a process known as picking
Qt3DRender::QBlendState | Encapsulates blending information
Qt3DRender::QBlendStateSeparate | Encapsulates blending information
Qt3DRender::QClipPlane | Enables an additional OpenGL clipping plane that can be in shaders using gl_ClipDistance
Qt3DRender::QColorMask | Allows specifying which color components should be written to the currently bound frame buffer
Qt3DRender::QPointSize | Specifies the size of rasterized points. May either be set statically or by shader programs
Qt3DRender::QAbstractTextureImage | Encapsulates the necessary information to create an OpenGL texture image
Qt3DRender::QAbstractTextureProvider | A base class to be used to provide textures
Qt3DRender::QTextureImage | Encapsulates the necessary information to create an OpenGL texture image from an image source
Qt3DRender::QTexture1D | A QAbstractTextureProvider with a Target1D target format
Qt3DRender::QTexture1DArray | A QAbstractTextureProvider with a Target1DArray target format
Qt3DRender::QTexture2D | A QAbstractTextureProvider with a Target2D target format
Qt3DRender::QTexture2DArray | A QAbstractTextureProvider with a Target2DArray target format
Qt3DRender::QTexture2DMultisample | A QAbstractTextureProvider with a Target2DMultisample target format
Qt3DRender::QTexture2DMultisampleArray | A QAbstractTextureProvider with a Target2DMultisampleArray target format
Qt3DRender::QTexture3D | A QAbstractTextureProvider with a Target3D target format
Qt3DRender::QTextureBuffer | A QAbstractTextureProvider with a TargetBuffer target format
Qt3DRender::QTextureCubeMap | A QAbstractTextureProvider with a TargetCubeMap target format
Qt3DRender::QTextureCubeMapArray | A QAbstractTextureProvider with a TargetCubeMapArray target format
Qt3DRender::QTextureRectangle | A QAbstractTextureProvider with a TargetRectangle target format
Qt3DRender::QTextureWrapMode | Defines the wrap mode a Qt3DRender::QAbstractTextureProvider should apply to a texture

## Detailed Description

The Qt 3D Render module provides an aspect, components, and other supporting types necessary to implement 2D and 3D rendering as part of the Qt 3D framework.

To use classes from this module, add this directive into the C++ files:

      #include <Qt3DRender>

To link against the corresponding C++ library, add the following to your qmake project file:

      QT += 3drender

Classes, types, and functions are declared under the Qt3DRender namespace.

### Overview

The Qt 3D Render aspect offers support for data-driven configuration as described in Qt 3D Render Framegraph.

### Reference

- Qt 3D Render C++ Classes
- Qt 3D Examples