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 QByteArraygetName () const
const QSSGManagedRhiTexturePtrgetDepthTexture () 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 QSSGManagedRhiTexturePtrgetColorTexture (int index) const
bool isValid () const
void finialize (QRhi *rhi)
void resetRenderTarget ()
void reset ()

Friends

class QSSGUserRenderPassManager

Detailed Description

Definition at line 706 of file qssgrhicontext_p.h.

Constructor & Destructor Documentation

◆ QSSGRhiRenderableTextureV2()

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

Definition at line 710 of file qssgrhicontext_p.h.

References QSSGRhiRenderableTextureV2().

Referenced by QSSGRhiRenderableTextureV2().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~QSSGRhiRenderableTextureV2()

QSSGRhiRenderableTextureV2::~QSSGRhiRenderableTextureV2 ( )

Definition at line 1841 of file qssgrhicontext.cpp.

Member Function Documentation

◆ colorAttachmentCount()

size_t QSSGRhiRenderableTextureV2::colorAttachmentCount ( ) const
inline

Definition at line 726 of file qssgrhicontext_p.h.

◆ finialize()

void QSSGRhiRenderableTextureV2::finialize ( QRhi * rhi)

◆ getColorTexture()

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

Definition at line 727 of file qssgrhicontext_p.h.

◆ getDepthStencil()

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

Definition at line 722 of file qssgrhicontext_p.h.

◆ getDepthTexture()

const QSSGManagedRhiTexturePtr & QSSGRhiRenderableTextureV2::getDepthTexture ( ) const
inline

Definition at line 721 of file qssgrhicontext_p.h.

◆ getName()

const QByteArray & QSSGRhiRenderableTextureV2::getName ( ) const
inline

Definition at line 719 of file qssgrhicontext_p.h.

◆ getRenderPassDescriptor()

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

Definition at line 723 of file qssgrhicontext_p.h.

◆ getRenderTarget()

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

Definition at line 724 of file qssgrhicontext_p.h.

◆ isValid()

bool QSSGRhiRenderableTextureV2::isValid ( ) const
inline

Definition at line 729 of file qssgrhicontext_p.h.

◆ reset()

void QSSGRhiRenderableTextureV2::reset ( )

Definition at line 1896 of file qssgrhicontext.cpp.

References resetRenderTarget().

Here is the call graph for this function:

◆ resetRenderTarget()

void QSSGRhiRenderableTextureV2::resetRenderTarget ( )

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

◆ setName()

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

Definition at line 718 of file qssgrhicontext_p.h.

◆ QSSGUserRenderPassManager

friend class QSSGUserRenderPassManager
friend

Definition at line 737 of file qssgrhicontext_p.h.


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