Example #1
0
        public static int GenBuffer()
        {
            int buffers;

            AL.GenBuffers(1, out buffers);
            return(buffers);
        }
Example #2
0
 public static void GenBuffer(out uint buffer)
 {
     AL.GenBuffers(1, out buffer);
 }
Example #3
0
 public static int[] GenBuffers(int n)
 {
     int[] numArray = new int[n];
     AL.GenBuffers(numArray.Length, out numArray[0]);
     return(numArray);
 }
Example #4
0
 public static unsafe void GenBuffers(int n, out int buffers)
 {
     fixed(int *buffers1 = &buffers)
     AL.GenBuffers(n, buffers1);
 }