opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Functions
osc::graphics Namespace Reference

Functions

void render_to_main_window (const RenderQueue &, const Camera &, const RenderPassConfig &={})
 
void render_to (RenderTexture &, const RenderQueue &, const Camera &, const RenderPassConfig &={})
 
void render_to (const RenderTarget &, const RenderQueue &, const Camera &, const RenderPassConfig &={})
 
void render_to (SharedDepthStencilRenderBuffer &, const RenderQueue &, const Camera &, const RenderPassConfig &={})
 
void blit (const Texture2D &, RenderTexture &)
 
void blit_to_main_window (const RenderTexture &render_texture, std::optional< Rect > destination_screen_rect=std::nullopt, BlitFlags={})
 
void blit_to_main_window (const RenderTexture &render_texture, const Material &material, std::optional< Rect > destination_screen_rect=std::nullopt, BlitFlags={})
 
void blit_to_main_window (const Texture2D &, const Rect &)
 
void copy_texture (const RenderTexture &, Texture2D &)
 
void copy_texture (const RenderTexture &, Texture2D &, CubemapFace)
 
void copy_texture (const RenderTexture &, Cubemap &, size_t mipmap_level)
 

Function Documentation

◆ blit()

void osc::graphics::blit ( const Texture2D &  ,
RenderTexture &   
)

◆ blit_to_main_window() [1/3]

void osc::graphics::blit_to_main_window ( const RenderTexture &  render_texture,
const Material &  material,
std::optional< Rect >  destination_screen_rect = std::nullopt,
BlitFlags  = {} 
)

◆ blit_to_main_window() [2/3]

void osc::graphics::blit_to_main_window ( const RenderTexture &  render_texture,
std::optional< Rect >  destination_screen_rect = std::nullopt,
BlitFlags  = {} 
)

◆ blit_to_main_window() [3/3]

void osc::graphics::blit_to_main_window ( const Texture2D &  ,
const Rect &   
)

◆ copy_texture() [1/3]

void osc::graphics::copy_texture ( const RenderTexture &  ,
Cubemap &  ,
size_t  mipmap_level 
)

◆ copy_texture() [2/3]

void osc::graphics::copy_texture ( const RenderTexture &  ,
Texture2D &   
)

◆ copy_texture() [3/3]

void osc::graphics::copy_texture ( const RenderTexture &  ,
Texture2D &  ,
CubemapFace   
)

◆ render_to() [1/3]

void osc::graphics::render_to ( const RenderTarget &  ,
const RenderQueue &  ,
const Camera &  ,
const RenderPassConfig &  = {} 
)

◆ render_to() [2/3]

void osc::graphics::render_to ( RenderTexture &  ,
const RenderQueue &  ,
const Camera &  ,
const RenderPassConfig &  = {} 
)

◆ render_to() [3/3]

void osc::graphics::render_to ( SharedDepthStencilRenderBuffer &  ,
const RenderQueue &  ,
const Camera &  ,
const RenderPassConfig &  = {} 
)

◆ render_to_main_window()

void osc::graphics::render_to_main_window ( const RenderQueue &  ,
const Camera &  ,
const RenderPassConfig &  = {} 
)