OpenGLTextureFactory

Description

sealed class Tinman.AddOns.OpenGL.OpenGLTextureFactory

Derived from

TextureFactory abstract

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

Implementation of the IBufferFactory that uses an OpenGL context.

Public / Constructors

OpenGLTextureFactory


public constructor OpenGLTextureFactory → (2)

context in : RenderContext

[not-null]
The RenderContext object to use (RenderContext.Api must be GLApi.OpenGL_41).

availableVideoMemory in : int64

[>0]
See ITextureFactory.AvailableVideoMemory.

Creates a new instance of OpenGLTextureFactory.

RenderException

If a graphics subsystem error has occurred.