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 public void Invoke()

Execute an action on the device.
  • Action action

Method public int AcquireTextureUnit()

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

    Method public void ReleaseTextureUnit()

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