On Friday 16 May 2014 00:31:01 Taylor Braun-Jones wrote: > Hi all, > > I'm working on a VTK-in-FBO solution for integrating VTK into Qt Quick 2 > and trying to understand why QOpenGLFramebufferObject provides methods: > > GLuint QOpenGLFramebufferObject::handle() const > GLuint QOpenGLFramebufferObject::texture() const > > But not similar methods like: > > GLuint QOpenGLFramebufferObject::depthBuffer() const > GLuint QOpenGLFramebufferObject::stencilBuffer() const > > Was this this an oversight or intentional? If intentional, what's the > rationale?
I think it is an oversight. There is more missing from this class. It's on my list to look into but I've not been able to find the time just yet. I.e. being able to specify multiple color attachments for use with deferred rendering etc. Cheers, Sean -- Dr Sean Harmer | sean.har...@kdab.com | Managing Director UK Klarälvdalens Datakonsult AB, a KDAB Group company Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322) KDAB - Qt Experts - Platform-independent software solutions _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development