sealed class Tinman.AddOns.OpenGL.OpenGLPrimitiveRenderer

Derived from

PrimitiveRenderer abstract

Full source code is included in the Tinman 3D SDK download.

Implementation of the IPrimitiveRenderer interface that uses the current OpenGL context.

Public / Constructors


public constructor OpenGLPrimitiveRenderer → (1)

gl in : GL

The GL object to use.

Creates a new instance of OpenGLPrimitiveRenderer.

This constructor will enable use of the primitive restart index ~0.