Qt 3D Render C++ Classes▲
The Qt 3D Render module contains functionality to support 2D and 3D rendering using Qt 3D.
This module was introduced in Qt 5.7.
Namespaces▲
-
Qt3DRender: Contains classes that enable 2D and 3D rendering.
-
Qt3DRender::Render: Namespace used for accessing the classes Renderer and QRenderPlugin.
Classes▲
-
Qt3DRender::QAbstractFunctor: QAbstractFunctor is an abstract base class for all functors.
-
Qt3DRender::QAbstractLight: Encapsulate a QAbstractLight object in a Qt 3D scene.
-
Qt3DRender::QAbstractRayCaster: An abstract base class for ray casting in 3d scenes.
-
Qt3DRender::QAbstractTexture: A base class to be used to provide textures.
-
Qt3DRender::QAbstractTextureImage: Encapsulates the necessary information to create an OpenGL texture image.
-
Qt3DRender::QAlphaCoverage: Enable alpha-to-coverage multisampling mode.
-
Qt3DRender::QAlphaTest: The QAlphaTest class specify alpha reference test.
-
Qt3DRender::QAttribute: Defines an attribute and how data should be read from a QBuffer.
-
Qt3DRender::QBlendEquation: The QBlendEquation class specifies the equation used for both the RGB blend equation and the Alpha blend equation.
-
Qt3DRender::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).
-
Qt3DRender::QBlitFramebuffer: FrameGraph node to transfer a rectangle of pixel values from one region of a render target to another.
-
Qt3DRender::QBuffer: Provides a data store for raw data to later be used as vertices or uniforms.
-
Qt3DRender::QBufferCapture: Exchanges buffer data between GPU and CPU.
-
Qt3DRender::QBufferDataGenerator: Provides a mechanism to generate buffer data from a job.
-
Qt3DRender::QCamera: The QCamera class defines a view point through which the scene will be rendered.
-
Qt3DRender::QCameraLens: Qt3DRender::QCameraLens specifies the projection matrix that will be used to define a Camera for a 3D scene.
-
Qt3DRender::QCameraSelector: Class to allow for selection of camera to be used.
-
Qt3DRender::QClearBuffers: Class to clear buffers.
-
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::QComputeCommand: QComponent to issue work for the compute shader on GPU.
-
Qt3DRender::QCullFace: The QCullFace class specifies whether front or back face culling is enabled.
-
Qt3DRender::QDepthTest: The QDepthTest class tests the fragment shader's depth value against the depth of a sample being written to.
-
Qt3DRender::QDirectionalLight: Encapsulate a Directional Light object in a Qt 3D scene.
-
Qt3DRender::QDispatchCompute: FrameGraph node to issue work for the compute shader on GPU.
-
Qt3DRender::QDithering: Enable dithering.
-
Qt3DRender::QEffect: The base class for effects in a Qt 3D scene.
-
Qt3DRender::QEnvironmentLight: Encapsulate an environment light object in a Qt 3D scene.
-
Qt3DRender::QFilterKey: The QFilterKey class provides storage for filter keys and their values.
-
Qt3DRender::QFrameGraphNode: Base class of all FrameGraph configuration nodes.
-
Qt3DRender::QFrameGraphNodeCreatedChangeBase: A base class for changes in the FrameGraphNode.
-
Qt3DRender::QFrontFace: The QFrontFace class defines front and back facing polygons.
-
Qt3DRender::QFrustumCulling: Enable frustum culling for the FrameGraph.
-
Qt3DRender::QGeometry: Encapsulates geometry.
-
Qt3DRender::QGeometryRenderer: Encapsulates geometry rendering.
-
Qt3DRender::QGraphicsApiFilter: The QGraphicsApiFilter class identifies the API required for the attached QTechnique.
-
Qt3DRender::QLayer: The QLayer class provides a way of filtering which entities will be rendered.
-
Qt3DRender::QLayerFilter: Controls layers drawn in a frame graph branch.
-
Qt3DRender::QLevelOfDetail: The QLevelOfDetail class provides a way of controlling the complexity of rendered entities based on their size on the screen.
-
Qt3DRender::QLevelOfDetailBoundingSphere: The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by its center and radius.
-
Qt3DRender::QLevelOfDetailSwitch: Provides a way of enabling child entities based on distance or screen size.
-
Qt3DRender::QLineWidth: Specifies the width of rasterized lines.
-
Qt3DRender::QMaterial: Provides an abstract class that should be the base of all material component classes in a scene.
-
Qt3DRender::QMemoryBarrier: Class to emplace a memory barrier.
-
Qt3DRender::QMesh: A custom mesh loader.
-
Qt3DRender::QMultiSampleAntiAliasing: Enable multisample antialiasing.
-
Qt3DRender::QNoDepthMask: Disable depth write.
-
Qt3DRender::QNoDraw: When a Qt3DRender::QNoDraw node is present in a FrameGraph branch, this prevents the renderer from rendering any primitive.
-
Qt3DRender::QObjectPicker: The QObjectPicker class instantiates a component that can be used to interact with a QEntity by a process known as picking.
-
Qt3DRender::QPaintedTextureImage: A QAbstractTextureImage that can be written through a QPainter.
-
Qt3DRender::QParameter: Provides storage for a name and value pair. This maps to a shader uniform.
-
Qt3DRender::QPickEvent: The QPickEvent class holds information when an object is picked.
-
Qt3DRender::QPickLineEvent: The QPickLineEvent class holds information when a segment of a line is picked.
-
Qt3DRender::QPickPointEvent: The QPickPointEvent class holds information when a segment of a point cloud is picked.
-
Qt3DRender::QPickTriangleEvent: The QPickTriangleEvent class holds information when a triangle is picked.
-
Qt3DRender::QPickingSettings: The QPickingSettings class specifies how entity picking is handled.
-
Qt3DRender::QPointLight: Encapsulate a Point Light object in a Qt 3D scene.
-
Qt3DRender::QPointSize: Specifies the size of rasterized points. May either be set statically or by shader programs.
-
Qt3DRender::QPolygonOffset: The QPolygonOffset class sets the scale and steps to calculate depth values for polygon offsets.
-
Qt3DRender::QProximityFilter: Select entities which are within a distance threshold of a target entity.
-
Qt3DRender::QRayCaster: Qt3DRender::QRayCaster is used to perform ray casting tests in 3d world coordinates.
-
Qt3DRender::QRayCasterHit: Details of a hit when casting a ray through a model.
-
Qt3DRender::QRenderAspect: The QRenderAspect class.
-
Qt3DRender::QRenderCapture: Frame graph node for render capture.
-
Qt3DRender::QRenderCaptureReply: Receives the result of render capture request.
-
Qt3DRender::QRenderPass: Encapsulates a Render Pass.
-
Qt3DRender::QRenderPassFilter: Provides storage for vectors of Filter Keys and Parameters.
-
Qt3DRender::QRenderSettings: The QRenderSettings class holds settings related to rendering process and host the active FrameGraph.
-
Qt3DRender::QRenderState: An abstract base class for all render states.
-
Qt3DRender::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.
-
Qt3DRender::QRenderSurfaceSelector: Provides a way of specifying the render surface.
-
Qt3DRender::QRenderTarget: The QRenderTarget class encapsulates a target (usually a frame buffer object) which the renderer can render into.
-
Qt3DRender::QRenderTargetOutput: The QRenderTargetOutput class allows the specification of an attachment of a render target (whether it is a color texture, a depth texture, etc... ).
-
Qt3DRender::QRenderTargetSelector: Provides a way of specifying a render target.
-
Qt3DRender::QSceneLoader: Provides the facility to load an existing Scene.
-
Qt3DRender::QScissorTest: The QScissorTest class discards fragments that fall outside of a certain rectangular portion of the screen.
-
Qt3DRender::QScreenRayCaster: Performe ray casting test based on screen coordinates.
-
Qt3DRender::QSeamlessCubemap: Enables seamless cubemap texture filtering.
-
Qt3DRender::QShaderData: Provides a way of specifying values of a Uniform Block or a shader structure.
-
Qt3DRender::QShaderProgram: Encapsulates a Shader Program.
-
Qt3DRender::QShaderProgramBuilder: Generates a Shader Program content from loaded graphs.
-
Qt3DRender::QSortPolicy: Provides storage for the sort types to be used.
-
Qt3DRender::QSpotLight: Encapsulate a Spot Light object in a Qt 3D scene.
-
Qt3DRender::QStencilMask: The QStencilMask class controls the front and back writing of individual bits in the stencil planes.
-
Qt3DRender::QStencilOperation: The QStencilOperation class specifies stencil operation.
-
Qt3DRender::QStencilOperationArguments: The QStencilOperationArguments class sets the actions to be taken when stencil and depth tests fail.
-
Qt3DRender::QStencilTest: The QStencilTest class specifies arguments for the stecil test.
-
Qt3DRender::QStencilTestArguments: The QStencilTestArguments class specifies arguments for stencil test.
-
Qt3DRender::QTechnique: Encapsulates a Technique.
-
Qt3DRender::QTechniqueFilter: A QFrameGraphNode used to select QTechniques to use.
-
Qt3DRender::QTexture1D: A QAbstractTexture with a Target1D target format.
-
Qt3DRender::QTexture1DArray: A QAbstractTexture with a Target1DArray target format.
-
Qt3DRender::QTexture2D: A QAbstractTexture with a Target2D target format.
-
Qt3DRender::QTexture2DArray: A QAbstractTexture with a Target2DArray target format.
-
Qt3DRender::QTexture2DMultisample: A QAbstractTexture with a Target2DMultisample target format.
-
Qt3DRender::QTexture2DMultisampleArray: A QAbstractTexture with a Target2DMultisampleArray target format.
-
Qt3DRender::QTexture3D: A QAbstractTexture with a Target3D target format.
-
Qt3DRender::QTextureBuffer: A QAbstractTexture with a TargetBuffer target format.
-
Qt3DRender::QTextureCubeMap: A QAbstractTexture with a TargetCubeMap target format.
-
Qt3DRender::QTextureCubeMapArray: A QAbstractTexture with a TargetCubeMapArray target format.
-
Qt3DRender::QTextureData: The QTextureData class stores texture information such as the target, height, width, depth, layers, wrap, and if mipmaps are enabled.
-
Qt3DRender::QTextureImage: Encapsulates the necessary information to create an OpenGL texture image from an image source.
-
Qt3DRender::QTextureImageData: QTextureImageData stores data representing a texture.
-
Qt3DRender::QTextureImageDataGenerator: Provides texture image data for QAbstractTextureImage.
-
Qt3DRender::QTextureLoader: Handles the texture loading and setting the texture's properties.
-
Qt3DRender::QTextureRectangle: A QAbstractTexture with a TargetRectangle target format.
-
Qt3DRender::QTextureWrapMode: Defines the wrap mode a Qt3DRender::QAbstractTexture should apply to a texture.
-
Qt3DRender::QViewport: 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 +=
3
drender
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.