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 ()=default
 ~QSSGRhiRenderableTextureV2 ()=default
void setDescription (QSSGRhiContext &rhiCtx, QRhiTextureRenderTargetDescription rtDesc, QRhiTextureRenderTarget::Flags={})
void setName (const QByteArray &namename)
const QByteArray & getName () const
const QSSGManagedRhiTexture & 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 QSSGManagedRhiTexture & getColorTexture (int indexindex) const
bool isValid () const
void resetRenderTarget ()
void reset (QSSGRhiResourceRegistry *registry)

Friends

class QSSGUserRenderPassManager

Detailed Description

Definition at line 778 of file qssgrhicontext_p.h.

Constructor & Destructor Documentation

◆ QSSGRhiRenderableTextureV2()

QSSGRhiRenderableTextureV2::QSSGRhiRenderableTextureV2 ( )
default

◆ ~QSSGRhiRenderableTextureV2()

QSSGRhiRenderableTextureV2::~QSSGRhiRenderableTextureV2 ( )
default

Member Function Documentation

◆ colorAttachmentCount()

size_t QSSGRhiRenderableTextureV2::colorAttachmentCount ( ) const
inline

Definition at line 795 of file qssgrhicontext_p.h.

◆ getColorTexture()

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

Definition at line 796 of file qssgrhicontext_p.h.

◆ getDepthStencil()

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

Definition at line 791 of file qssgrhicontext_p.h.

◆ getDepthTexture()

const QSSGManagedRhiTexture & QSSGRhiRenderableTextureV2::getDepthTexture ( ) const
inline

Definition at line 790 of file qssgrhicontext_p.h.

◆ getName()

const QByteArray & QSSGRhiRenderableTextureV2::getName ( ) const
inline

Definition at line 787 of file qssgrhicontext_p.h.

◆ getRenderPassDescriptor()

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

Definition at line 792 of file qssgrhicontext_p.h.

◆ getRenderTarget()

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

Definition at line 793 of file qssgrhicontext_p.h.

◆ isValid()

bool QSSGRhiRenderableTextureV2::isValid ( ) const
inline

Definition at line 798 of file qssgrhicontext_p.h.

◆ reset()

void QSSGRhiRenderableTextureV2::reset ( QSSGRhiResourceRegistry * registry)

Definition at line 2271 of file qssgrhicontext.cpp.

References resetRenderTarget().

Here is the call graph for this function:

◆ resetRenderTarget()

void QSSGRhiRenderableTextureV2::resetRenderTarget ( )

Definition at line 2265 of file qssgrhicontext.cpp.

Referenced by reset().

Here is the caller graph for this function:

◆ setDescription()

void QSSGRhiRenderableTextureV2::setDescription ( QSSGRhiContext & rhiCtx,
QRhiTextureRenderTargetDescription rtDesc,
QRhiTextureRenderTarget::Flags flags = {} )

Hands the textures in rtDesc over to rhiCtx, which owns them from now on, and creates a render target. References to the individual textures can be gotten via getColorTexture() and getDepthTexture().

Definition at line 2226 of file qssgrhicontext.cpp.

◆ setName()

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

Definition at line 786 of file qssgrhicontext_p.h.

◆ QSSGUserRenderPassManager

friend class QSSGUserRenderPassManager
friend

Definition at line 805 of file qssgrhicontext_p.h.


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