shift renderer prototype to new node structure

This commit is contained in:
itsmattkc
2019-08-28 02:40:44 +10:00
parent 5afe7d523c
commit 7dc2290496
26 changed files with 264 additions and 395 deletions
+25
View File
@@ -90,3 +90,28 @@ RenderFramebuffer *RenderInstance::buffer()
{
return &buffer_;
}
QOpenGLContext *RenderInstance::context()
{
return &ctx_;
}
const int &RenderInstance::width() const
{
return width_;
}
const int &RenderInstance::height() const
{
return height_;
}
const olive::PixelFormat &RenderInstance::format() const
{
return format_;
}
const olive::RenderMode &RenderInstance::mode() const
{
return mode_;
}