Qt 3D Render C++ Classes
The Qt 3D Render module contains functionality to support 2D and 3D rendering using Qt 3D. More...
This module was introduced in Qt 5.7.
Namespaces
Contains classes that enable 2D and 3D rendering | |
Namespace used for accessing the classes Renderer and QRenderPlugin |
Classes
Abstract base class for all functors | |
Encapsulate a QAbstractLight object in a Qt 3D scene | |
An abstract base class for ray casting in 3d scenes | |
A base class to be used to provide textures | |
Encapsulates the necessary information to create an OpenGL texture image | |
Enable alpha-to-coverage multisampling mode | |
Specify alpha reference test | |
Defines an attribute and how data should be read from a QBuffer | |
Specifies the equation used for both the RGB blend equation and the Alpha blend equation | |
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) | |
FrameGraph node to transfer a rectangle of pixel values from one region of a render target to another | |
Provides a data store for raw data to later be used as vertices or uniforms | |
Exchanges buffer data between GPU and CPU | |
Provides a mechanism to generate buffer data from a job | |
Defines a view point through which the scene will be rendered | |
Qt3DRender::QCameraLens specifies the projection matrix that will be used to define a Camera for a 3D scene | |
Class to allow for selection of camera to be used | |
Class to clear buffers | |
Enables an additional OpenGL clipping plane that can be in shaders using gl_ClipDistance | |
Allows specifying which color components should be written to the currently bound frame buffer | |
QComponent to issue work for the compute shader on GPU | |
Specifies whether front or back face culling is enabled | |
Tests the fragment shader's depth value against the depth of a sample being written to | |
Encapsulate a Directional Light object in a Qt 3D scene | |
FrameGraph node to issue work for the compute shader on GPU | |
Enable dithering | |
Base class for effects in a Qt 3D scene | |
Encapsulate an environment light object in a Qt 3D scene | |
Storage for filter keys and their values | |
Base class of all FrameGraph configuration nodes | |
A base class for changes in the FrameGraphNode | |
Defines front and back facing polygons | |
Enable frustum culling for the FrameGraph | |
Encapsulates geometry | |
Encapsulates geometry rendering | |
Identifies the API required for the attached QTechnique | |
Way of filtering which entities will be rendered | |
Controls layers drawn in a frame graph branch | |
Way of controlling the complexity of rendered entities based on their size on the screen | |
Simple spherical volume, defined by its center and radius | |
Provides a way of enabling child entities based on distance or screen size | |
Specifies the width of rasterized lines | |
Provides an abstract class that should be the base of all material component classes in a scene | |
Class to emplace a memory barrier | |
A custom mesh loader | |
Enable multisample antialiasing | |
Disable depth write | |
When a Qt3DRender::QNoDraw node is present in a FrameGraph branch, this prevents the renderer from rendering any primitive | |
Instantiates a component that can be used to interact with a QEntity by a process known as picking | |
A QAbstractTextureImage that can be written through a QPainter | |
Provides storage for a name and value pair. This maps to a shader uniform | |
Holds information when an object is picked | |
Holds information when a segment of a line is picked | |
Holds information when a segment of a point cloud is picked | |
Holds information when a triangle is picked | |
Specifies how entity picking is handled | |
Encapsulate a Point Light object in a Qt 3D scene | |
Specifies the size of rasterized points. May either be set statically or by shader programs | |
Sets the scale and steps to calculate depth values for polygon offsets | |
Select entities which are within a distance threshold of a target entity | |
Qt3DRender::QRayCaster is used to perform ray casting tests in 3d world coordinates | |
Details of a hit when casting a ray through a model | |
Class | |
Frame graph node for render capture | |
Receives the result of render capture request | |
Encapsulates a Render Pass | |
Provides storage for vectors of Filter Keys and Parameters | |
Holds settings related to rendering process and host the active FrameGraph | |
An abstract base class for all render states | |
FrameGraph node offers a way of specifying a set of QRenderState objects to be applied during the execution of a framegraph branch | |
Provides a way of specifying the render surface | |
Encapsulates a target (usually a frame buffer object) which the renderer can render into | |
Allows the specification of an attachment of a render target (whether it is a color texture, a depth texture, etc... ) | |
Provides a way of specifying a render target | |
Provides the facility to load an existing Scene | |
Discards fragments that fall outside of a certain rectangular portion of the screen | |
Performe ray casting test based on screen coordinates | |
Enables seamless cubemap texture filtering | |
Provides a way of specifying values of a Uniform Block or a shader structure | |
Encapsulates a Shader Program | |
Generates a Shader Program content from loaded graphs | |
Provides storage for the sort types to be used | |
Encapsulate a Spot Light object in a Qt 3D scene | |
Controls the front and back writing of individual bits in the stencil planes | |
Specifies stencil operation | |
Sets the actions to be taken when stencil and depth tests fail | |
Specifies arguments for the stecil test | |
Specifies arguments for stencil test | |
Encapsulates a Technique | |
A QFrameGraphNode used to select QTechniques to use | |
A QAbstractTexture with a Target1D target format | |
A QAbstractTexture with a Target1DArray target format | |
A QAbstractTexture with a Target2D target format | |
A QAbstractTexture with a Target2DArray target format | |
A QAbstractTexture with a Target2DMultisample target format | |
A QAbstractTexture with a Target2DMultisampleArray target format | |
A QAbstractTexture with a Target3D target format | |
A QAbstractTexture with a TargetBuffer target format | |
A QAbstractTexture with a TargetCubeMap target format | |
A QAbstractTexture with a TargetCubeMapArray target format | |
Stores texture information such as the target, height, width, depth, layers, wrap, and if mipmaps are enabled | |
Provides the image data for a texture | |
Encapsulates the necessary information to create an OpenGL texture image from an image source | |
Stores data representing a texture | |
Provides texture image data for QAbstractTextureImage | |
Handles the texture loading and setting the texture's properties | |
A QAbstractTexture with a TargetRectangle target format | |
Defines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture | |
A viewport on the Qt3D Scene |
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
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.