Converted a couple more things to shared pointers.
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user