RenderedDepthNode Struct Reference
Inheritance diagram for RenderedDepthNode:
score::gfx::NodeRenderer

Classes

struct  Pass
 

Public Member Functions

 RenderedDepthNode (const DepthNode &node) noexcept
 
std::optional< QSize > renderTargetSize () const noexcept override
 
TextureRenderTarget createRenderTarget (const RenderState &state) override
 
QSize computeTextureSize (const isf::pass &pass)
 
int initShaderSamplers (Renderer &renderer)
 
void initAudioTextures (Renderer &renderer)
 
void initPassSamplers (Renderer &renderer, int &cur_pos)
 
Pipeline buildPassPipeline (Renderer &renderer, TextureRenderTarget tgt, QRhiBuffer *processUBO)
 
Pass createPass (Renderer &renderer, Sampler target)
 
void init (Renderer &renderer) override
 
void update (Renderer &renderer, QRhiResourceUpdateBatch &res) override
 
void releaseWithoutRenderTarget (Renderer &r) override
 
void release (Renderer &r) override
 
void runPass (Renderer &renderer, QRhiCommandBuffer &cb, QRhiResourceUpdateBatch &res) override
 
- Public Member Functions inherited from score::gfx::NodeRenderer
virtual TextureRenderTarget renderTargetForInput (const Port &input)=0
 
virtual void inputAboutToFinish (RenderList &renderer, const Port &p, QRhiResourceUpdateBatch *&)
 
virtual void init (RenderList &renderer, QRhiResourceUpdateBatch &res)=0
 
virtual void update (RenderList &renderer, QRhiResourceUpdateBatch &res)=0
 
virtual void runInitialPasses (RenderList &, QRhiCommandBuffer &commands, QRhiResourceUpdateBatch *&res, Edge &edge)
 
virtual void runRenderPass (RenderList &, QRhiCommandBuffer &commands, Edge &edge)
 
virtual void release (RenderList &)=0
 

Public Attributes

std::vector< Passm_passes
 
DepthNode & n
 
TextureRenderTarget m_lastPassRT
 
std::vector< Sampler > m_samplers
 
Pipeline m_p
 
QRhiBuffer * m_meshBuffer {}
 
QRhiBuffer * m_idxBuffer {}
 
QRhiBuffer * m_materialUBO {}
 
int m_materialSize {}
 
int64_t materialChangedIndex {-1}
 
- Public Attributes inherited from score::gfx::NodeRenderer
int32_t id {-1}
 

The documentation for this struct was generated from the following file:
  • DepthNode.cpp