![]() |
Lysa
0.0
Lysa 3D Engine
|
Represents a specific view into a scene for rendering.
A RenderView combines a camera, a scene, and viewport/scissor dimensions to define how a scene should be rendered to a target.
Inheritance diagram for RenderView:Public Member Functions | |
| RenderView (const Camera &camera, Scene &scene, const vireo::Viewport &viewport={}, const vireo::Rect &scissors={}) | |
Public Member Functions inherited from UnmanagedResource | |
| UnmanagedResource () | |
| UnmanagedResource (const Resource &other) | |
Public Member Functions inherited from Resource | |
| bool | operator== (const Resource &other) const |
| Resource () = default | |
| Resource (const unique_id id) | |
| virtual | ~Resource () = default |
Public Attributes | |
| vireo::Viewport | viewport {} |
| vireo::Rect | scissors {} |
| const Camera & | camera |
| Scene & | scene |
Public Attributes inherited from Resource | |
| unique_id | id {INVALID_ID} |
|
inline |
Constructs a new RenderView.
| camera | The camera defining the view transformation and projection. |
| scene | The scene to be rendered from this view. |
| viewport | The viewport dimensions (optional). |
| scissors | The scissors rectangle (optional). |
| const Camera& camera |
Reference to the camera used for this view.
| Scene& scene |
Reference to the scene to be rendered.
| vireo::Rect scissors {} |
The scissors rectangle for rendering.
| vireo::Viewport viewport {} |
The viewport dimensions for rendering.