public static void SetBoolean(ILBooleanMode mode, bool value) { ilSetInteger((uint) mode, (value) ? 1 : 0); }
public static void SetBoolean(ILBooleanMode mode, bool value) { IL.ilSetInteger((uint)mode, value ? 1 : 0); }
/* Needs investigation public static byte[] GetAlphaData(DataType dataType) { //Returns a pointer that gets allocated, we don't have a way to release the memory? }*/ public static bool GetBoolean(ILBooleanMode mode) { return (ilGetInteger((uint) mode) == 0) ? false : true; }
public static bool GetBoolean(ILBooleanMode mode) { return(IL.ilGetInteger((uint)mode) != 0); }