|
opynsim
Unofficial C++ Documentation
|
#include <cached_model_renderer.h>
Public Member Functions | |
| CachedModelRenderer (const std::shared_ptr< osc::SceneCache > &) | |
| CachedModelRenderer (const CachedModelRenderer &)=delete | |
| CachedModelRenderer (CachedModelRenderer &&) noexcept | |
| CachedModelRenderer & | operator= (const CachedModelRenderer &)=delete |
| CachedModelRenderer & | operator= (CachedModelRenderer &&) noexcept |
| ~CachedModelRenderer () noexcept | |
| void | autoFocusCamera (const ModelStatePair &, ModelRendererParams &, float aspectRatio) |
| osc::RenderTexture & | onDraw (const ModelStatePair &, const ModelRendererParams &, osc::Vector2 dims, float devicePixelRatio, osc::AntiAliasingLevel antiAliasingLevel) |
| osc::RenderTexture & | updRenderTexture () |
| std::span< const osc::SceneDecoration > | getDrawlist () const |
| std::optional< osc::AABB > | bounds () const |
| std::optional< osc::AABB > | visibleBounds () const |
| std::optional< osc::SceneCollision > | getClosestCollision (const ModelRendererParams &, osc::Vector2 mouseScreenPosition, const osc::Rect &viewportScreenRect) const |
|
explicit |
|
delete |
|
noexcept |
|
noexcept |
| void opyn::CachedModelRenderer::autoFocusCamera | ( | const ModelStatePair & | , |
| ModelRendererParams & | , | ||
| float | aspectRatio | ||
| ) |
| std::optional< osc::AABB > opyn::CachedModelRenderer::bounds | ( | ) | const |
| std::optional< osc::SceneCollision > opyn::CachedModelRenderer::getClosestCollision | ( | const ModelRendererParams & | , |
| osc::Vector2 | mouseScreenPosition, | ||
| const osc::Rect & | viewportScreenRect | ||
| ) | const |
| std::span< const osc::SceneDecoration > opyn::CachedModelRenderer::getDrawlist | ( | ) | const |
| osc::RenderTexture & opyn::CachedModelRenderer::onDraw | ( | const ModelStatePair & | , |
| const ModelRendererParams & | , | ||
| osc::Vector2 | dims, | ||
| float | devicePixelRatio, | ||
| osc::AntiAliasingLevel | antiAliasingLevel | ||
| ) |
|
noexcept |
|
delete |
| osc::RenderTexture & opyn::CachedModelRenderer::updRenderTexture | ( | ) |
| std::optional< osc::AABB > opyn::CachedModelRenderer::visibleBounds | ( | ) | const |