Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
DynamicTarget Class Reference

#include <pipeline.h>

+ Inheritance diagram for DynamicTarget:
+ Collaboration diagram for DynamicTarget:

Public Member Functions

bool isConfigured ()
 
void setRenderTarget (RenderTarget *value)
 
virtual void activate (PipelineContext &context) override
 Activate the render target and configure OpenGL state for the output.
 
- Public Member Functions inherited from RenderTarget
virtual void reset (PipelineContext &context) override
 Resets the state of the object for the next pipeline iteration.
 
- Public Member Functions inherited from RenderPipelineObject
virtual ~RenderPipelineObject ()=default
 

Private Attributes

RenderTargetupstream { nullptr }
 

Additional Inherited Members

- Protected Attributes inherited from RenderTarget
bool m_clear {true}
 

Member Function Documentation

◆ activate()

void DynamicTarget::activate ( PipelineContext & context)
overridevirtual

Activate the render target and configure OpenGL state for the output.

This is usually done by

See also
RenderStep implementations.

Reimplemented from RenderTarget.

References RenderTarget::activate(), isConfigured(), and upstream.

+ Here is the call graph for this function:

◆ isConfigured()

bool DynamicTarget::isConfigured ( )
inline

References upstream.

Referenced by activate().

+ Here is the caller graph for this function:

◆ setRenderTarget()

void DynamicTarget::setRenderTarget ( RenderTarget * value)
inline

References upstream.

Referenced by RenderPipeline::setRenderTarget().

+ Here is the caller graph for this function:

Member Data Documentation

◆ upstream

RenderTarget* DynamicTarget::upstream { nullptr }
private

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