Exemplo n.º 1
0
        public static int GenBuffer()
        {
            int buffers;

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