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
QSSGRhiRenderableTextureV2 Class Reference

#include <qssgrhicontext_p.h>

Collaboration diagram for QSSGRhiRenderableTextureV2:

Public Member Functions

 QSSGRhiRenderableTextureV2 (const std::shared_ptr< QSSGUserRenderPassManager > &manager, Private)
 ~QSSGRhiRenderableTextureV2 ()
void setDescription (QRhi *rhi, QRhiTextureRenderTargetDescription rtDesc, QRhiTextureRenderTarget::Flags={})
void setName (const QByteArray &namename)
const QByteArray & getName () const
const QSSGManagedRhiTexturePtr & getDepthTexture () const
const std::unique_ptr< QRhiRenderBuffer > & getDepthStencil () const
const std::unique_ptr< QRhiRenderPassDescriptor > & getRenderPassDescriptor () const
const std::unique_ptr< QRhiTextureRenderTarget > & getRenderTarget () const
size_t colorAttachmentCount () const
const QSSGManagedRhiTexturePtr & getColorTexture (int indexindex) const
bool isValid () const
void finialize (QRhi *rhi)
void resetRenderTarget ()
void reset ()

Friends

class QSSGUserRenderPassManager

Detailed Description

Definition at line 763 of file qssgrhicontext_p.h.

Constructor & Destructor Documentation

◆ QSSGRhiRenderableTextureV2()

QSSGRhiRenderableTextureV2::QSSGRhiRenderableTextureV2 ( const std::shared_ptr< QSSGUserRenderPassManager > & manager,
Private  )
inline

Definition at line 767 of file qssgrhicontext_p.h.

◆ ~QSSGRhiRenderableTextureV2()

QSSGRhiRenderableTextureV2::~QSSGRhiRenderableTextureV2 ( )

Definition at line 1938 of file qssgrhicontext.cpp.

Member Function Documentation

◆ colorAttachmentCount()

size_t QSSGRhiRenderableTextureV2::colorAttachmentCount ( ) const
inline

Definition at line 783 of file qssgrhicontext_p.h.

◆ finialize()

void QSSGRhiRenderableTextureV2::finialize ( QRhi * rhi)

◆ getColorTexture()

const QSSGManagedRhiTexturePtr & QSSGRhiRenderableTextureV2::getColorTexture ( int index) const
inline

Definition at line 784 of file qssgrhicontext_p.h.

◆ getDepthStencil()

const std::unique_ptr< QRhiRenderBuffer > & QSSGRhiRenderableTextureV2::getDepthStencil ( ) const
inline

Definition at line 779 of file qssgrhicontext_p.h.

◆ getDepthTexture()

const QSSGManagedRhiTexturePtr & QSSGRhiRenderableTextureV2::getDepthTexture ( ) const
inline

Definition at line 778 of file qssgrhicontext_p.h.

◆ getName()

const QByteArray & QSSGRhiRenderableTextureV2::getName ( ) const
inline

Definition at line 776 of file qssgrhicontext_p.h.

◆ getRenderPassDescriptor()

const std::unique_ptr< QRhiRenderPassDescriptor > & QSSGRhiRenderableTextureV2::getRenderPassDescriptor ( ) const
inline

Definition at line 780 of file qssgrhicontext_p.h.

◆ getRenderTarget()

const std::unique_ptr< QRhiTextureRenderTarget > & QSSGRhiRenderableTextureV2::getRenderTarget ( ) const
inline

Definition at line 781 of file qssgrhicontext_p.h.

◆ isValid()

bool QSSGRhiRenderableTextureV2::isValid ( ) const
inline

Definition at line 786 of file qssgrhicontext_p.h.

◆ reset()

void QSSGRhiRenderableTextureV2::reset ( )

Definition at line 1993 of file qssgrhicontext.cpp.

References resetRenderTarget().

Here is the call graph for this function:

◆ resetRenderTarget()

void QSSGRhiRenderableTextureV2::resetRenderTarget ( )

Definition at line 1987 of file qssgrhicontext.cpp.

Referenced by reset().

Here is the caller graph for this function:

◆ setDescription()

void QSSGRhiRenderableTextureV2::setDescription ( QRhi * rhi,
QRhiTextureRenderTargetDescription rtDesc,
QRhiTextureRenderTarget::Flags flags = {} )

Takes ownership of the textures in rtDesc and creates a render target. Once set the textures should be assume owned by this object references to individual textures can be gotten via the textures() method.

Definition at line 1953 of file qssgrhicontext.cpp.

◆ setName()

void QSSGRhiRenderableTextureV2::setName ( const QByteArray & name)
inline

Definition at line 775 of file qssgrhicontext_p.h.

◆ QSSGUserRenderPassManager

friend class QSSGUserRenderPassManager
friend

Definition at line 794 of file qssgrhicontext_p.h.


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