using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SharpGL.SceneGraph.Core { /// <summary> /// A Scene Element can implement this interface to enable rendering /// functionality. Note that many scene elements (materials etc) are /// not actually drawn. /// </summary> public interface IRenderable { /// <summary> /// Render to the provided instance of OpenGL. /// </summary> /// <param name="gl">The OpenGL instance.</param> /// <param name="renderMode">The render mode.</param> void Render(OpenGL gl, RenderMode renderMode); } }
By viewing downloads associated with this article you agree to the Terms of use and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The GNU General Public License (GPLv3)
Math Primers for Programmers