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

Global state associated to a rendering context. More...

Detailed Description

Global state associated to a rendering context.

Classes

struct  Caps
 

Public Member Functions

 RenderState (const RenderState &)=delete
 
 RenderState (RenderState &&)=delete
 
RenderState & operator= (const RenderState &)=delete
 
RenderState & operator= (RenderState &&)=delete
 
void destroy ()
 

Public Attributes

QRhi * rhi {}
 
QRhiRenderPassDescriptor * renderPassDescriptor {}
 
std::weak_ptr< RenderList > renderer {}
 
QOffscreenSurface * surface {}
 
std::weak_ptr< score::gfx::Window > window {}
 
QSize renderSize {}
 
QSize outputSize {}
 
int samples {1}
 
QRhiTexture::Format renderFormat {QRhiTexture::RGBA8}
 
GraphicsApi api {}
 
QShaderVersion version {}
 
struct score::gfx::RenderState::Caps caps
 
std::function< void()> customDeviceCleanup
 
std::function< void()> preRhiDestroy
 
std::function< void()> savePipelineCache
 

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