OpenGLPrimitiveRenderer

Description

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

Open​GLPrimitive​Renderer


public constructor OpenGLPrimitiveRenderer → (1)

gl in : GL

[not-null]
The GL object to use.

Creates a new instance of OpenGLPrimitiveRenderer.

Public / Attributes

Instance​Count


public attribute InstanceCount → (get,set)

value : int32

[>=1]
The primitive count. Set to 1 to disable instancing.

The primitive count to use for instancing.

Defaults to 1.