/// A Scene Element can implement this interface to enable rendering
/// functionality. Note that many scene elements (materials etc) are
/// not actually drawn.
public interface IRenderable
/// Render to the provided instance of OpenGL.
/// <param name="gl">The OpenGL instance.</param>
/// <param name="renderMode">The render mode.</param>
void Render(OpenGL gl, RenderMode renderMode);
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