Table of Contents

Class GLObject

Namespace
ReFuel.Graphics.OpenGL
Assembly
ReFuel.dll
public class GLObject : IDisposable
Inheritance
GLObject
Implements
Derived
Inherited Members

Constructors

GLObject(GLObjectFamily)

public GLObject(GLObjectFamily family)

Parameters

family GLObjectFamily

GLObject(GLObjectFamily, int)

public GLObject(GLObjectFamily family, int handle)

Parameters

family GLObjectFamily
handle int

Properties

Family

public GLObjectFamily Family { get; }

Property Value

GLObjectFamily

Handle

public int Handle { get; }

Property Value

int

Label

public string Label { get; set; }

Property Value

string

Log

protected static Logger Log { get; }

Property Value

Logger

Methods

ClearObjects()

public static void ClearObjects()

Delete()

protected void Delete()

Delete(GLObjectFamily, int)

protected static void Delete(GLObjectFamily family, int id)

Parameters

family GLObjectFamily
id int

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

Dispose(bool)

protected void Dispose(bool isDisposing)

Parameters

isDisposing bool

DisposeOnGL()

protected virtual void DisposeOnGL()

~GLObject()

protected ~GLObject()

Generate()

protected void Generate()

Generate(ShaderType)

protected void Generate(ShaderType shaderType)

Parameters

shaderType ShaderType

Initialize()

public virtual void Initialize()

Operators

implicit operator int(GLObject)

public static implicit operator int(GLObject obj)

Parameters

obj GLObject

Returns

int