Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QSSGRenderContextInterface Class Reference

\inmodule QtQuick3D More...

#include <qssgrendercontextcore.h>

Collaboration diagram for QSSGRenderContextInterface:

Public Member Functions

 QSSGRenderContextInterface (QRhi *rhi)
 QSSGRenderContextInterface (std::unique_ptr< QSSGBufferManager > bufferManager, std::unique_ptr< QSSGRenderer > renderer, std::shared_ptr< QSSGShaderLibraryManager > shaderLibraryManager, std::unique_ptr< QSSGShaderCache > shaderCache, std::unique_ptr< QSSGCustomMaterialSystem > customMaterialSystem, std::unique_ptr< QSSGProgramGenerator > shaderProgramGenerator, std::unique_ptr< QSSGRhiContext > ctx)
 QSSGRenderContextInterface (std::unique_ptr< QSSGBufferManager > bufferManager, std::unique_ptr< QSSGRenderer > renderer, std::shared_ptr< QSSGShaderLibraryManager > shaderLibraryManager, std::unique_ptr< QSSGShaderCache > shaderCache, std::unique_ptr< QSSGCustomMaterialSystem > customMaterialSystem, std::unique_ptr< QSSGProgramGenerator > shaderProgramGenerator, std::unique_ptr< QSSGRhiContext > ctx, std::unique_ptr< QSSGDebugDrawSystem > debugDrawSystem)
 ~QSSGRenderContextInterface ()
const std::unique_ptr< QSSGRenderer > & renderer () const
const std::unique_ptr< QSSGBufferManager > & bufferManager () const
const std::unique_ptr< QSSGRhiContext > & rhiContext () const
const std::unique_ptr< QSSGShaderCache > & shaderCache () const
const std::shared_ptr< QSSGShaderLibraryManager > & shaderLibraryManager () const
const std::unique_ptr< QSSGCustomMaterialSystem > & customMaterialSystem () const
const std::unique_ptr< QSSGProgramGenerator > & shaderProgramGenerator () const
const std::unique_ptr< QSSGDebugDrawSystem > & debugDrawSystem () const

Friends

class QQuick3DSceneRenderer
class QQuick3DWindowAttachment
class QSSGLayerRenderData
class QSSGRenderer

Detailed Description

\inmodule QtQuick3D

Since
6.7

Aggregate class for sub-parts of the QtQuick3D rendering engine.

The QSSGRenderContextInterface, and the objects owned by it are always per-QQuickWindow, and so per scenegraph render thread. Some resources might be shared, like the shader library, but that's all take care of internally by the QSSGRenderContextInterface.

Note
Some sub-components might not be exposed as semi-public, or their use might require private headers to be used. In those cases it's likely their APIs have a high likelihood of being changed in the near future. One the APIs for those class have stabilized they will be made available with the same guarantee as the rest of the semi-public APIs.

Definition at line 39 of file qssgrendercontextcore.h.

Constructor & Destructor Documentation

◆ QSSGRenderContextInterface() [1/3]

QSSGRenderContextInterface::QSSGRenderContextInterface ( QRhi * rhi)
explicit

Definition at line 137 of file qssgrendercontextcore.cpp.

◆ QSSGRenderContextInterface() [2/3]

QSSGRenderContextInterface::QSSGRenderContextInterface ( std::unique_ptr< QSSGBufferManager > bufferManager,
std::unique_ptr< QSSGRenderer > renderer,
std::shared_ptr< QSSGShaderLibraryManager > shaderLibraryManager,
std::unique_ptr< QSSGShaderCache > shaderCache,
std::unique_ptr< QSSGCustomMaterialSystem > customMaterialSystem,
std::unique_ptr< QSSGProgramGenerator > shaderProgramGenerator,
std::unique_ptr< QSSGRhiContext > ctx )

Definition at line 82 of file qssgrendercontextcore.cpp.

◆ QSSGRenderContextInterface() [3/3]

QSSGRenderContextInterface::QSSGRenderContextInterface ( std::unique_ptr< QSSGBufferManager > bufferManager,
std::unique_ptr< QSSGRenderer > renderer,
std::shared_ptr< QSSGShaderLibraryManager > shaderLibraryManager,
std::unique_ptr< QSSGShaderCache > shaderCache,
std::unique_ptr< QSSGCustomMaterialSystem > customMaterialSystem,
std::unique_ptr< QSSGProgramGenerator > shaderProgramGenerator,
std::unique_ptr< QSSGRhiContext > ctx,
std::unique_ptr< QSSGDebugDrawSystem > debugDrawSystem )

Definition at line 105 of file qssgrendercontextcore.cpp.

◆ ~QSSGRenderContextInterface()

QSSGRenderContextInterface::~QSSGRenderContextInterface ( )

Definition at line 154 of file qssgrendercontextcore.cpp.

Member Function Documentation

◆ bufferManager()

const std::unique_ptr< QSSGBufferManager > & QSSGRenderContextInterface::bufferManager ( ) const

Definition at line 170 of file qssgrendercontextcore.cpp.

◆ customMaterialSystem()

const std::unique_ptr< QSSGCustomMaterialSystem > & QSSGRenderContextInterface::customMaterialSystem ( ) const

Definition at line 202 of file qssgrendercontextcore.cpp.

◆ debugDrawSystem()

const std::unique_ptr< QSSGDebugDrawSystem > & QSSGRenderContextInterface::debugDrawSystem ( ) const

Definition at line 218 of file qssgrendercontextcore.cpp.

◆ renderer()

const std::unique_ptr< QSSGRenderer > & QSSGRenderContextInterface::renderer ( ) const

Definition at line 162 of file qssgrendercontextcore.cpp.

◆ rhiContext()

const std::unique_ptr< QSSGRhiContext > & QSSGRenderContextInterface::rhiContext ( ) const
Returns
the context object that wraps QRhi-related settings and helper functionality.

Definition at line 178 of file qssgrendercontextcore.cpp.

◆ shaderCache()

const std::unique_ptr< QSSGShaderCache > & QSSGRenderContextInterface::shaderCache ( ) const

Definition at line 186 of file qssgrendercontextcore.cpp.

◆ shaderLibraryManager()

const std::shared_ptr< QSSGShaderLibraryManager > & QSSGRenderContextInterface::shaderLibraryManager ( ) const

Definition at line 194 of file qssgrendercontextcore.cpp.

◆ shaderProgramGenerator()

const std::unique_ptr< QSSGProgramGenerator > & QSSGRenderContextInterface::shaderProgramGenerator ( ) const

Definition at line 210 of file qssgrendercontextcore.cpp.

◆ QQuick3DSceneRenderer

friend class QQuick3DSceneRenderer
friend

Definition at line 76 of file qssgrendercontextcore.h.

◆ QQuick3DWindowAttachment

friend class QQuick3DWindowAttachment
friend

Definition at line 77 of file qssgrendercontextcore.h.

◆ QSSGLayerRenderData

◆ QSSGRenderer

friend class QSSGRenderer
friend

Definition at line 79 of file qssgrendercontextcore.h.

Referenced by RenderHelpers::rhiRenderShadowMap().


The documentation for this class was generated from the following files: