Converted a couple more things to shared pointers.

This commit is contained in:
2023-11-10 20:12:18 -06:00
parent 0beb1d9cb7
commit 732a90931c
16 changed files with 114 additions and 79 deletions

View File

@ -29,7 +29,7 @@ namespace Dawn {
}
// @optional
StateProperty<RenderTarget*> renderTarget;
StateProperty<std::shared_ptr<RenderTarget>> renderTarget;
// @optional
StateProperty<float_t> fov;
// @optional
@ -70,7 +70,7 @@ namespace Dawn {
*
* @return The target render target framebuffer.
*/
RenderTarget * getRenderTarget();
std::shared_ptr<RenderTarget> getRenderTarget();
/**
* Returs the aspect ratio of the camera.