IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt3DRender Namespace

Contains classes that enable 2D and 3D rendering.

This namespace was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt3DRender Namespace

  • Header: Qt3DRender

  • Since: Qt 5.7

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS 3drender)

    target_link_libraries(mytarget PRIVATE Qt6::3drender)

  • qmake: QT += 3drender

  • Group: Qt3DRender is part of qt3d-namespaces

Detailed Description

 

Namespaces

 

namespace Qt3DRender::Quick

[since 5.7] namespace Qt3DRender::Render

This namespace was introduced in Qt 5.7.

Classes

 

class QAbstractLight

Encapsulate a QAbstractLight object in a Qt 3D scene.

class QAbstractRayCaster

An abstract base class for ray casting in 3d scenes.

class QAbstractTexture

A base class to be used to provide textures.

class QAbstractTextureImage

Encapsulates the necessary information to create an OpenGL texture image.

class QAlphaCoverage

Enable alpha-to-coverage multisampling mode.

class QAlphaTest

The QAlphaTest class specify alpha reference test.

class QBlendEquation

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

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

class QBlitFramebuffer

FrameGraph node to transfer a rectangle of pixel values from one region of a render target to another.

class QBufferCapture

Exchanges buffer data between GPU and CPU.

class QCamera

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

class QCameraLens

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

class QCameraSelector

Class to allow for selection of camera to be used.

class QClearBuffers

Class to clear buffers.

class QClipPlane

Enables an additional OpenGL clipping plane that can be in shaders using gl_ClipDistance.

class QColorMask

Allows specifying which color components should be written to the currently bound frame buffer.

class QComputeCommand

QComponent to issue work for the compute shader on GPU.

class QCullFace

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

class QDebugOverlay

Enables a visual overlay with scene details.

class QDepthRange

Enables remapping depth values written into the depth buffer.

class QDepthTest

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

class QDirectionalLight

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

class QDispatchCompute

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

class QDithering

Enable dithering.

class QEffect

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

class QEnvironmentLight

Encapsulate an environment light object in a Qt 3D scene.

class QFilterKey

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

class QFrameGraphNode

Base class of all FrameGraph configuration nodes.

class QFrontFace

The QFrontFace class defines front and back facing polygons.

class QFrustumCulling

Enable frustum culling for the FrameGraph.

class QGeometryRenderer

Encapsulates geometry rendering.

class QGraphicsApiFilter

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

class QLayer

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

class QLayerFilter

Controls layers drawn in a frame graph branch.

class QLevelOfDetail

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

class QLevelOfDetailBoundingSphere

The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by its center and radius.

class QLevelOfDetailSwitch

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

class QLineWidth

Specifies the width of rasterized lines.

class QMaterial

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

class QMemoryBarrier

Class to emplace a memory barrier.

class QMesh

A custom mesh loader.

class QMultiSampleAntiAliasing

Enable multisample antialiasing.

class QNoDepthMask

Disable depth write.

class QNoDraw

When a Qt3DRender::QNoDraw node is present in a FrameGraph branch, this prevents the renderer from rendering any primitive.

class QNoPicking

When a Qt3DRender::QNoPicking node is present in a FrameGraph branch, this prevents the render aspect from performing picking selection for the given branch.

class QObjectPicker

The QObjectPicker class instantiates a component that can be used to interact with a QEntity by a process known as picking.

class QPaintedTextureImage

A QAbstractTextureImage that can be written through a QPainter.

class QParameter

Provides storage for a name and value pair. This maps to a shader uniform.

class QPickEvent

The QPickEvent class holds information when an object is picked.

class QPickLineEvent

The QPickLineEvent class holds information when a segment of a line is picked.

class QPickPointEvent

The QPickPointEvent class holds information when a segment of a point cloud is picked.

class QPickTriangleEvent

The QPickTriangleEvent class holds information when a triangle is picked.

class QPickingProxy

Can be used to provide an alternate QGeometryView used only for picking.

class QPickingSettings

The QPickingSettings class specifies how entity picking is handled.

class QPointLight

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

class QPointSize

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

class QPolygonOffset

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

class QProximityFilter

Select entities which are within a distance threshold of a target entity.

class QRasterMode

The QRasterMode render state allows to control the type of rasterization to be performed.

class QRayCaster

Qt3DRender::QRayCaster is used to perform ray casting tests in 3d world coordinates.

class QRayCasterHit

Details of a hit when casting a ray through a model.

class QRenderAspect

The QRenderAspect class.

class QRenderCapabilities

The QRenderCapabilities class holds settings related to available rendering engines.

class QRenderCapture

Frame graph node for render capture.

class QRenderCaptureReply

Receives the result of render capture request.

class QRenderPass

Encapsulates a Render Pass.

class QRenderPassFilter

Provides storage for vectors of Filter Keys and Parameters.

class QRenderSettings

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

class QRenderState

An abstract base class for all render states.

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.

class QRenderSurfaceSelector

Provides a way of specifying the render surface.

class QRenderTarget

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

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

class QRenderTargetSelector

Provides a way of specifying a render target.

class QSceneLoader

Provides the facility to load an existing Scene.

class QScissorTest

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

class QScreenRayCaster

Performe ray casting test based on screen coordinates.

class QSeamlessCubemap

Enables seamless cubemap texture filtering.

class QSetFence

FrameGraphNode used to insert a fence in the graphics command stream.

class QShaderData

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

class QShaderImage

Provides Image access to shader programs.

class QShaderProgram

Encapsulates a Shader Program.

class QShaderProgramBuilder

Generates a Shader Program content from loaded graphs.

class QSharedGLTexture

Allows to use a textureId from a separate OpenGL context in a Qt 3D scene.

class QSortPolicy

Provides storage for the sort types to be used.

class QSpotLight

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

class QStencilMask

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

class QStencilOperation

The QStencilOperation class specifies stencil operation.

class QStencilOperationArguments

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

class QStencilTest

The QStencilTest class specifies arguments for the stecil test.

class QStencilTestArguments

The QStencilTestArguments class specifies arguments for stencil test.

class QSubtreeEnabler

Enables or disables entire subtrees of framegraph nodes.

class QTechnique

Encapsulates a Technique.

class QTechniqueFilter

A QFrameGraphNode used to select QTechniques to use.

class QTexture1D

A QAbstractTexture with a Target1D target format.

class QTexture1DArray

A QAbstractTexture with a Target1DArray target format.

class QTexture2D

A QAbstractTexture with a Target2D target format.

class QTexture2DArray

A QAbstractTexture with a Target2DArray target format.

class QTexture2DMultisample

A QAbstractTexture with a Target2DMultisample target format.

class QTexture2DMultisampleArray

A QAbstractTexture with a Target2DMultisampleArray target format.

class QTexture3D

A QAbstractTexture with a Target3D target format.

class QTextureBuffer

A QAbstractTexture with a TargetBuffer target format.

class QTextureCubeMap

A QAbstractTexture with a TargetCubeMap target format.

class QTextureCubeMapArray

A QAbstractTexture with a TargetCubeMapArray target format.

class QTextureData

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

class QTextureDataUpdate

QTextureDataUpdate holds content and information required to perform partial updates of a texture content.

class QTextureGenerator

Provides the image data for a texture.

class QTextureImage

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

class QTextureImageData

QTextureImageData stores data representing a texture.

class QTextureImageDataGenerator

Provides texture image data for QAbstractTextureImage.

class QTextureLoader

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

class QTextureRectangle

A QAbstractTexture with a TargetRectangle target format.

class QTextureWrapMode

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

class QViewport

A viewport on the Qt3D Scene.

class QWaitFence

FrameGraphNode used to wait for a fence in the graphics command stream to become signaled.

Type Documentation

 

[alias] ParameterList

A list of Qt3DRender::QParameter parameters.

QTextureImageDataPtr

Shared pointer to QTextureImageData.

Function Documentation

 

bool operator!=(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)

Returns true if reference and sample are different.

bool operator==(const Qt3DRender::QGraphicsApiFilter &reference, const Qt3DRender::QGraphicsApiFilter &sample)

Returns true if reference and sample are equivalent.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+