Beispiel #1
0
 public static void SetBoolean(ILBooleanMode mode, bool value) {
     ilSetInteger((uint) mode, (value) ? 1 : 0);
 }
Beispiel #2
0
 public static void SetBoolean(ILBooleanMode mode, bool value)
 {
     IL.ilSetInteger((uint)mode, value ? 1 : 0);
 }
Beispiel #3
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;
        }
Beispiel #4
0
 public static bool GetBoolean(ILBooleanMode mode)
 {
     return(IL.ilGetInteger((uint)mode) != 0);
 }