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 &name)
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 index) const
bool isValid () const
void finialize (QRhi *rhi)
void resetRenderTarget ()
void reset ()

Friends

class QSSGUserRenderPassManager

Detailed Description

Definition at line 727 of file qssgrhicontext_p.h.

Constructor & Destructor Documentation

◆ QSSGRhiRenderableTextureV2()

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

Definition at line 731 of file qssgrhicontext_p.h.

◆ ~QSSGRhiRenderableTextureV2()

QSSGRhiRenderableTextureV2::~QSSGRhiRenderableTextureV2 ( )

Definition at line 1894 of file qssgrhicontext.cpp.

Member Function Documentation

◆ colorAttachmentCount()

size_t QSSGRhiRenderableTextureV2::colorAttachmentCount ( ) const
inline

Definition at line 747 of file qssgrhicontext_p.h.

◆ finialize()

void QSSGRhiRenderableTextureV2::finialize ( QRhi * rhi)

◆ getColorTexture()

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

Definition at line 748 of file qssgrhicontext_p.h.

◆ getDepthStencil()

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

Definition at line 743 of file qssgrhicontext_p.h.

◆ getDepthTexture()

const QSSGManagedRhiTexturePtr & QSSGRhiRenderableTextureV2::getDepthTexture ( ) const
inline

Definition at line 742 of file qssgrhicontext_p.h.

◆ getName()

const QByteArray & QSSGRhiRenderableTextureV2::getName ( ) const
inline

Definition at line 740 of file qssgrhicontext_p.h.

◆ getRenderPassDescriptor()

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

Definition at line 744 of file qssgrhicontext_p.h.

◆ getRenderTarget()

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

Definition at line 745 of file qssgrhicontext_p.h.

◆ isValid()

bool QSSGRhiRenderableTextureV2::isValid ( ) const
inline

Definition at line 750 of file qssgrhicontext_p.h.

◆ reset()

void QSSGRhiRenderableTextureV2::reset ( )

Definition at line 1949 of file qssgrhicontext.cpp.

References resetRenderTarget().

Here is the call graph for this function:

◆ resetRenderTarget()

void QSSGRhiRenderableTextureV2::resetRenderTarget ( )

Definition at line 1943 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 1909 of file qssgrhicontext.cpp.

◆ setName()

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

Definition at line 739 of file qssgrhicontext_p.h.

◆ QSSGUserRenderPassManager

friend class QSSGUserRenderPassManager
friend

Definition at line 758 of file qssgrhicontext_p.h.


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