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

#include <render_texture.h>

Public Member Functions

 RenderTexture ()
 
 RenderTexture (const RenderTextureParams &)
 
Vector2i pixel_dimensions () const
 
void set_pixel_dimensions (Vector2i)
 
Vector2 dimensions () const
 
float device_pixel_ratio () const
 
void set_device_pixel_ratio (float)
 
TextureDimensionality dimensionality () const
 
void set_dimensionality (TextureDimensionality)
 
ColorRenderBufferFormat color_format () const
 
void set_color_format (ColorRenderBufferFormat)
 
AntiAliasingLevel anti_aliasing_level () const
 
void set_anti_aliasing_level (AntiAliasingLevel)
 
DepthStencilRenderBufferFormat depth_stencil_format () const
 
void set_depth_stencil_format (DepthStencilRenderBufferFormat)
 
void reformat (const RenderTextureParams &)
 
SharedColorRenderBuffer upd_color_buffer ()
 
SharedDepthStencilRenderBuffer upd_depth_buffer ()
 
const Implimpl () const
 

Friends

class GraphicsBackend
 
bool operator== (const RenderTexture &, const RenderTexture &)=default
 
std::ostream & operator<< (std::ostream &, const RenderTexture &)
 

Constructor & Destructor Documentation

◆ RenderTexture() [1/2]

osc::RenderTexture::RenderTexture ( )

◆ RenderTexture() [2/2]

osc::RenderTexture::RenderTexture ( const RenderTextureParams )
explicit

Member Function Documentation

◆ anti_aliasing_level()

AntiAliasingLevel osc::RenderTexture::anti_aliasing_level ( ) const

◆ color_format()

ColorRenderBufferFormat osc::RenderTexture::color_format ( ) const

◆ depth_stencil_format()

DepthStencilRenderBufferFormat osc::RenderTexture::depth_stencil_format ( ) const

◆ device_pixel_ratio()

float osc::RenderTexture::device_pixel_ratio ( ) const

◆ dimensionality()

TextureDimensionality osc::RenderTexture::dimensionality ( ) const

◆ dimensions()

Vector2 osc::RenderTexture::dimensions ( ) const

◆ impl()

const Impl & osc::RenderTexture::impl ( ) const
inline

◆ pixel_dimensions()

Vector2i osc::RenderTexture::pixel_dimensions ( ) const

◆ reformat()

void osc::RenderTexture::reformat ( const RenderTextureParams )

◆ set_anti_aliasing_level()

void osc::RenderTexture::set_anti_aliasing_level ( AntiAliasingLevel  )

◆ set_color_format()

void osc::RenderTexture::set_color_format ( ColorRenderBufferFormat  )

◆ set_depth_stencil_format()

void osc::RenderTexture::set_depth_stencil_format ( DepthStencilRenderBufferFormat  )

◆ set_device_pixel_ratio()

void osc::RenderTexture::set_device_pixel_ratio ( float  )

◆ set_dimensionality()

void osc::RenderTexture::set_dimensionality ( TextureDimensionality  )

◆ set_pixel_dimensions()

void osc::RenderTexture::set_pixel_dimensions ( Vector2i  )

◆ upd_color_buffer()

SharedColorRenderBuffer osc::RenderTexture::upd_color_buffer ( )

◆ upd_depth_buffer()

SharedDepthStencilRenderBuffer osc::RenderTexture::upd_depth_buffer ( )

Friends And Related Symbol Documentation

◆ GraphicsBackend

friend class GraphicsBackend
friend

◆ operator<<

std::ostream & operator<< ( std::ostream &  ,
const RenderTexture  
)
friend

◆ operator==

bool operator== ( const RenderTexture ,
const RenderTexture  
)
friend

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