opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
osc::RenderTarget Class Referencefinal

#include <render_target.h>

Public Member Functions

 RenderTarget ()
 
 RenderTarget (RenderTargetColorAttachment color_attachment)
 
 RenderTarget (RenderTargetDepthStencilAttachment depth_attachment)
 
 RenderTarget (RenderTargetColorAttachment color_attachment, RenderTargetDepthStencilAttachment depth_attachment)
 
 RenderTarget (RenderTargetColorAttachment color0_attachment, RenderTargetColorAttachment color1_attachment, RenderTargetDepthStencilAttachment depth_attachment)
 
 RenderTarget (RenderTargetColorAttachment color0_attachment, RenderTargetColorAttachment color1_attachment, RenderTargetColorAttachment color2_attachment, RenderTargetDepthStencilAttachment depth_attachment)
 
std::span< const RenderTargetColorAttachmentcolor_attachments () const
 
const std::optional< RenderTargetDepthStencilAttachment > & depth_attachment () const
 
Vector2i pixel_dimensions () const
 
Vector2 dimensions () const
 
float device_pixel_ratio () const
 
void set_device_pixel_ratio (float new_device_pixel_ratio)
 
void validate_or_throw () const
 

Constructor & Destructor Documentation

◆ RenderTarget() [1/6]

osc::RenderTarget::RenderTarget ( )
inlineexplicit

◆ RenderTarget() [2/6]

osc::RenderTarget::RenderTarget ( RenderTargetColorAttachment  color_attachment)
inlineexplicit

◆ RenderTarget() [3/6]

osc::RenderTarget::RenderTarget ( RenderTargetDepthStencilAttachment  depth_attachment)
inlineexplicit

◆ RenderTarget() [4/6]

osc::RenderTarget::RenderTarget ( RenderTargetColorAttachment  color_attachment,
RenderTargetDepthStencilAttachment  depth_attachment 
)
inlineexplicit

◆ RenderTarget() [5/6]

osc::RenderTarget::RenderTarget ( RenderTargetColorAttachment  color0_attachment,
RenderTargetColorAttachment  color1_attachment,
RenderTargetDepthStencilAttachment  depth_attachment 
)
inlineexplicit

◆ RenderTarget() [6/6]

osc::RenderTarget::RenderTarget ( RenderTargetColorAttachment  color0_attachment,
RenderTargetColorAttachment  color1_attachment,
RenderTargetColorAttachment  color2_attachment,
RenderTargetDepthStencilAttachment  depth_attachment 
)
inlineexplicit

Member Function Documentation

◆ color_attachments()

std::span< const RenderTargetColorAttachment > osc::RenderTarget::color_attachments ( ) const
inline

◆ depth_attachment()

const std::optional< RenderTargetDepthStencilAttachment > & osc::RenderTarget::depth_attachment ( ) const
inline

◆ device_pixel_ratio()

float osc::RenderTarget::device_pixel_ratio ( ) const
inline

◆ dimensions()

Vector2 osc::RenderTarget::dimensions ( ) const
inline

◆ pixel_dimensions()

Vector2i osc::RenderTarget::pixel_dimensions ( ) const
inline

◆ set_device_pixel_ratio()

void osc::RenderTarget::set_device_pixel_ratio ( float  new_device_pixel_ratio)
inline

◆ validate_or_throw()

void osc::RenderTarget::validate_or_throw ( ) const

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