Loading...
Searching...
No Matches
score::gfx::TextureRenderTarget Struct Reference

Useful abstraction for storing all the data related to a render target. More...

Detailed Description

Useful abstraction for storing all the data related to a render target.

Public Member Functions

 operator bool () const noexcept
 
int colorAttachmentCount () const noexcept
 
int sampleCount () const noexcept
 
void release ()
 

Public Attributes

QRhiTexture * texture {}
 
std::vector< QRhiTexture * > additionalColorTextures
 
QRhiRenderBuffer * colorRenderBuffer {}
 
QRhiRenderBuffer * depthRenderBuffer {}
 
QRhiTexture * depthTexture {}
 
QRhiTexture * msDepthTexture {}
 
QRhiRenderPassDescriptor * renderPass {}
 
QRhiRenderTarget * renderTarget {}
 

The documentation for this struct was generated from the following file: