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

Functions

void draw (const Mesh &, const Transform &, const Material &, Camera &)
 
void draw (const Mesh &, const Transform &, const Material &, Camera &, const MaterialPropertyBlock &)
 
void draw (const Mesh &, const Transform &, const Material &, Camera &, size_t submesh_index)
 
void draw (const Mesh &, const Transform &, const Material &, Camera &, const MaterialPropertyBlock &, size_t submesh_index)
 
void draw (const Mesh &, const Matrix4x4 &, const Material &, Camera &)
 
void draw (const Mesh &, const Matrix4x4 &, const Material &, Camera &, const MaterialPropertyBlock &)
 
void draw (const Mesh &, const Matrix4x4 &, const Material &, Camera &, size_t submesh_index)
 
void draw (const Mesh &, const Matrix4x4 &, const Material &, Camera &, const MaterialPropertyBlock &, size_t submesh_index)
 
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   
)

◆ draw() [1/8]

void osc::graphics::draw ( const Mesh ,
const Matrix4x4 ,
const Material ,
Camera  
)

◆ draw() [2/8]

void osc::graphics::draw ( const Mesh ,
const Matrix4x4 ,
const Material ,
Camera ,
const MaterialPropertyBlock  
)

◆ draw() [3/8]

void osc::graphics::draw ( const Mesh ,
const Matrix4x4 ,
const Material ,
Camera ,
const MaterialPropertyBlock ,
size_t  submesh_index 
)

◆ draw() [4/8]

void osc::graphics::draw ( const Mesh ,
const Matrix4x4 ,
const Material ,
Camera ,
size_t  submesh_index 
)

◆ draw() [5/8]

void osc::graphics::draw ( const Mesh ,
const Transform ,
const Material ,
Camera  
)

◆ draw() [6/8]

void osc::graphics::draw ( const Mesh ,
const Transform ,
const Material ,
Camera ,
const MaterialPropertyBlock  
)

◆ draw() [7/8]

void osc::graphics::draw ( const Mesh ,
const Transform ,
const Material ,
Camera ,
const MaterialPropertyBlock ,
size_t  submesh_index 
)

◆ draw() [8/8]

void osc::graphics::draw ( const Mesh ,
const Transform ,
const Material ,
Camera ,
size_t  submesh_index 
)