Programming API Reference: EduGraf.OpenGL

Class public abstract GlApi

This is the generic low-level OpenGL api abstraction. Consult OpenGL documentation for details about abstracted the methods.

Method protected void Invoke()

Execute an action on the device.
  • Action action

Method protected int AcquireTextureUnit()

Shading aspects working with textures need to acquire a unit to handle the texture when applied.

    Method protected void ReleaseTextureUnit()

    Shading aspects need to release acquired texture units when unapplied.
    • int unit