Manages viewports in the OpenGL engine, responsible for matrix transformations within shaders.
More...
|
|
DynamicPointer< GLESGraphicsDevice > | m_device |
| | The OpenGL graphics device.
|
|
UUID | m_camera |
| | UUID of the managed camera.
|
|
CameraUniformObject | m_camera_uniform |
| | Current uniform data for the GPU.
|
|
Time | m_last_updated_time |
| | Last time the uniform was updated.
|
|
bool | m_needs_pipeline_update |
| | Whether the pipeline needs rebuilding.
|
|
bool | m_needs_uniform_commit |
| | Whether the uniform buffer needs committing.
|
|
UUID | m_override_material |
| | UUID of the material override (if any).
|
|
bool | m_use_anisotropy |
| | Whether anisotropic filtering is enabled.
|
|
bool | m_use_camera_material |
| | Whether camera-specific material is used.
|
|
bool | m_uses_origin |
| | Whether origin-based precision is active.
|
|
Time | m_visible_update_time = Time(0) |
| | Last time a visible change was detected.
|
Manages viewports in the OpenGL engine, responsible for matrix transformations within shaders.
Definition at line 15 of file GLESCameraManager.h.
◆ GLESCameraManager()
Constructs a GLESCameraManager for the given graphics device.
- Parameters
-
| [in] | device | The OpenGL graphics device. |
◆ update() [1/2]
Pushes camera matrices to all shaders in the given shader manager.
- Parameters
-
| [in] | program | The shader manager containing shaders to update. |
◆ update() [2/2]
| void GLESCameraManager::update |
( |
GLESShader * | shader | ) |
|
Pushes camera matrices to a specific shader.
- Parameters
-
| [in] | shader | The shader to update with camera matrices. |
◆ updateUniformBuffer()
Updates camera-related uniform buffers for the current frame.
- Parameters
-
| [in] | args | The graphics update context. |
Reimplemented from GraphicsCameraManager.
The documentation for this class was generated from the following file: