# OpenGLComponent in the Juce Demo

**URL:** <https://forum.juce.com/t/openglcomponent-in-the-juce-demo/7932>\
**Category:** General JUCE discussion\
**Created:** [December 29, 2011, 10:43pm UTC](https://forum.juce.com/t/openglcomponent-in-the-juce-demo/7932 "2011-12-29T22:43:11Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [December 31, 2011, 11:52am UTC](https://forum.juce.com/t/openglcomponent-in-the-juce-demo/7932/5 "2011-12-31T11:52:41Z")

</div>

Yeah, that’s all stuff that I’ll be working on - the idea is that you’d probably make your top-level component an OpenGLComponent, and then in any sub-component, I’ll figure out a way that you can draw GL. (Perhaps by adding a Component::renderOpenGL method that any component could override, but I haven’t quite decided yet)

---

_[View the full topic](https://forum.juce.com/t/openglcomponent-in-the-juce-demo/7932)._
