public static bool IsEnabledIndexedEXT(EnableStateIndexed target, uint index) { return Delegates.glIsEnabledIndexedEXT(target, index); }
public static void DisableIndexedEXT(EnableStateIndexed target, uint index) { Delegates.glDisableIndexedEXT(target, index); }
/// <summary> /// Retrives the indexed state of cap. /// </summary> /// <param name="cap">The indexed cap state to retrive.</param> /// <param name="index">zero based. Index of cap type to query.</param> /// <returns>true if enabled, false otherwise.</returns> public static bool IsEnabledi(EnableStateIndexed cap, uint index) { return Delegates.glIsEnabledi(cap, index); }
/// <summary> /// Enables an indexed state. /// Note that what index means is dependent on cap. /// </summary> /// <param name="cap">Cap describing what to enable and what index means.</param> /// <param name="index">zero based. What index means is dependent on cap.</param> public static void Enablei(EnableStateIndexed cap, uint index) { //uint tmp = 0; //switch (cap) //{ // case EnableStateIndexed.Blend: // // index measn zero based drawbuffers // if (((int)All.DRAW_BUFFER0 - 1) < index) // tmp = index - (int)All.DRAW_BUFFER0; // else // tmp = index; // break; // default: // tmp = index; // break; //} //Delegates.glEnablei(cap, tmp); Delegates.glEnablei(cap, index); }
/// <summary> /// Disables an indexed state. /// Note that what index means is dependent on cap. /// </summary> /// <param name="cap">Cap describing what to disable and what index means.</param> /// <param name="index">zero based. What index means is dependent on cap.</param> public static void Disablei(EnableStateIndexed cap, uint index) { Delegates.glDisablei(cap, index); }
public static void DisableIndexedEXT(EnableStateIndexed target, uint index) { Delegates.glDisableIndexedEXT(target, index); }
public static bool IsEnabledIndexedEXT(EnableStateIndexed target, uint index) { return(Delegates.glIsEnabledIndexedEXT(target, index)); }