score::gfx::RenderState Struct Reference

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

Detailed Description

Global state associated to a rendering context.

Public Member Functions

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

Public Attributes

QRhi * rhi {}
 
QRhiRenderPassDescriptor * renderPassDescriptor {}
 
std::weak_ptr< RenderListrenderer {}
 
QOffscreenSurface * surface {}
 
QSize renderSize {}
 
QSize outputSize {}
 
int samples {1}
 
GraphicsApi api {}
 
QShaderVersion version {}
 

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