Renders a 3D scene to a juce::Graphics context as wireframes.
More...
#include <gin_renderer3d.h>
Renders a 3D scene to a juce::Graphics context as wireframes.
◆ Renderer3D()
| Renderer3D::Renderer3D |
( |
| ) |
|
|
default |
◆ render() [1/2]
| void Renderer3D::render |
( |
juce::Graphics & | g, |
|
|
const Scene3D & | scene, |
|
|
juce::Rectangle< int > | bounds ) |
Renders the scene to the given graphics context.
- Parameters
-
| g | The graphics context to render to |
| scene | The 3D scene to render |
| bounds | The area to render into |
References render().
Referenced by render().
◆ render() [2/2]
| void Renderer3D::render |
( |
juce::Graphics & | g, |
|
|
const Scene3D & | scene, |
|
|
juce::Rectangle< float > | bounds ) |
◆ setLineThickness()
| void Renderer3D::setLineThickness |
( |
float | thickness | ) |
|
Sets the line thickness for rendering.
◆ getLineThickness()
| float Renderer3D::getLineThickness |
( |
| ) |
const |
◆ setDepthCueing()
| void Renderer3D::setDepthCueing |
( |
bool | enabled | ) |
|
Enables/disables depth-based line dimming.
◆ getDepthCueing()
| bool Renderer3D::getDepthCueing |
( |
| ) |
const |
The documentation for this class was generated from the following file: