Class GLObject
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
GLObjectFamilyhandle
int
Properties
Family
public GLObjectFamily Family { get; }
Property Value
Handle
public int Handle { get; }
Property Value
Label
public string Label { get; set; }
Property Value
Log
protected static Logger Log { get; }
Property Value
Methods
ClearObjects()
public static void ClearObjects()
Delete()
protected void Delete()
Delete(GLObjectFamily, int)
protected static void Delete(GLObjectFamily family, int id)
Parameters
family
GLObjectFamilyid
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