Ejemplo n.º 1
0
        public override IntBuffer Put(IntBuffer src)
        {
            if (src is DirectIntBufferU)
            {
                if (src == this)
                {
                    throw new IllegalArgumentException();
                }
                DirectIntBufferU sb = (DirectIntBufferU)src;

                int spos = sb.Position();
                int slim = sb.Limit();
                assert(spos <= slim);
                int srem = (spos <= slim ? slim - spos : 0);

                int pos = Position();
                int lim = Limit();
                assert(pos <= lim);
                int rem = (pos <= lim ? lim - pos : 0);

                if (srem > rem)
                {
                    throw new BufferOverflowException();
                }
                @unsafe.copyMemory(sb.Ix(spos), Ix(pos), (long)srem << 2);
                sb.Position(spos + srem);
                Position(pos + srem);
            }
            else if (src.Hb != null)
            {
                int spos = src.Position();
                int slim = src.Limit();
                assert(spos <= slim);
                int srem = (spos <= slim ? slim - spos : 0);

                Put(src.Hb, src.Offset + spos, srem);
                src.Position(spos + srem);
            }
            else
            {
                base.Put(src);
            }
            return(this);
        }
Ejemplo n.º 2
0
 public static void glGetShaderiv(int arg0, int arg1, IntBuffer arg2) { }
Ejemplo n.º 3
0
 public static void glGetRenderbufferParameteriv(int arg0, int arg1, IntBuffer arg2) { }
Ejemplo n.º 4
0
 public static void glGetProgramiv(int arg0, int arg1, IntBuffer arg2) { }
Ejemplo n.º 5
0
 public static void glDeleteRenderbuffers(int arg0, IntBuffer arg1) { }
Ejemplo n.º 6
0
 public override IntBuffer Put(IntBuffer src)
 {
     throw new ReadOnlyBufferException();
 }
Ejemplo n.º 7
0
 public static void glTexParameteriv(int arg0, int arg1, IntBuffer arg2) { }
Ejemplo n.º 8
0
 public static void glGetVertexAttribiv(int arg0, int arg1, IntBuffer arg2) { }
Ejemplo n.º 9
0
 public static void glGetActiveUniform(int arg0, int arg1, int arg2, IntBuffer arg3, IntBuffer arg4, IntBuffer arg5, sbyte arg6) { }
Ejemplo n.º 10
0
 public static string glGetActiveUniform(int arg0, int arg1, IntBuffer arg2, IntBuffer arg3) { return default(string); }
Ejemplo n.º 11
0
 public static void glGenTextures(int arg0, IntBuffer arg1) { }
Ejemplo n.º 12
0
 public static void glGenRenderbuffers(int arg0, IntBuffer arg1) { }
Ejemplo n.º 13
0
 public static void glGenFramebuffers(int arg0, IntBuffer arg1) { }
Ejemplo n.º 14
0
 public static void glDeleteTextures(int arg0, IntBuffer arg1) { }
Ejemplo n.º 15
0
 public static void glGetShaderPrecisionFormat(int arg0, int arg1, IntBuffer arg2, IntBuffer arg3) { }
Ejemplo n.º 16
0
 public static void glGetShaderSource(int arg0, int arg1, IntBuffer arg2, sbyte arg3) { }
Ejemplo n.º 17
0
 public static void glGetAttachedShaders(int arg0, int arg1, IntBuffer arg2, IntBuffer arg3) { }
Ejemplo n.º 18
0
 public static void glShaderBinary(int arg0, IntBuffer arg1, int arg2, Buffer arg3, int arg4) { }
Ejemplo n.º 19
0
 public static void glGetBooleanv(int arg0, IntBuffer arg1) { }
Ejemplo n.º 20
0
 public static void glUniform4iv(int arg0, int arg1, IntBuffer arg2) { }
Ejemplo n.º 21
0
 public static void glGetFramebufferAttachmentParameteriv(int arg0, int arg1, int arg2, IntBuffer arg3) { }
Ejemplo n.º 22
0
 public static void glGetIntegerv(int arg0, IntBuffer arg1) { }
Ejemplo n.º 23
0
 public static void glDeleteFramebuffers(int arg0, IntBuffer arg1) { }