상속: Buffer
예제 #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);
        }
예제 #2
0
 public static void glGetShaderiv(int arg0, int arg1, IntBuffer arg2) { }
예제 #3
0
 public static void glGetRenderbufferParameteriv(int arg0, int arg1, IntBuffer arg2) { }
예제 #4
0
 public static void glGetProgramiv(int arg0, int arg1, IntBuffer arg2) { }
예제 #5
0
 public static void glDeleteRenderbuffers(int arg0, IntBuffer arg1) { }
예제 #6
0
 public override IntBuffer Put(IntBuffer src)
 {
     throw new ReadOnlyBufferException();
 }
예제 #7
0
 public static void glTexParameteriv(int arg0, int arg1, IntBuffer arg2) { }
예제 #8
0
 public static void glGetVertexAttribiv(int arg0, int arg1, IntBuffer arg2) { }
예제 #9
0
 public static void glGetActiveUniform(int arg0, int arg1, int arg2, IntBuffer arg3, IntBuffer arg4, IntBuffer arg5, sbyte arg6) { }
예제 #10
0
 public static string glGetActiveUniform(int arg0, int arg1, IntBuffer arg2, IntBuffer arg3) { return default(string); }
예제 #11
0
 public static void glGenTextures(int arg0, IntBuffer arg1) { }
예제 #12
0
 public static void glGenRenderbuffers(int arg0, IntBuffer arg1) { }
예제 #13
0
 public static void glGenFramebuffers(int arg0, IntBuffer arg1) { }
예제 #14
0
 public static void glDeleteTextures(int arg0, IntBuffer arg1) { }
예제 #15
0
 public static void glGetShaderPrecisionFormat(int arg0, int arg1, IntBuffer arg2, IntBuffer arg3) { }
예제 #16
0
 public static void glGetShaderSource(int arg0, int arg1, IntBuffer arg2, sbyte arg3) { }
예제 #17
0
 public static void glGetAttachedShaders(int arg0, int arg1, IntBuffer arg2, IntBuffer arg3) { }
예제 #18
0
 public static void glShaderBinary(int arg0, IntBuffer arg1, int arg2, Buffer arg3, int arg4) { }
예제 #19
0
 public static void glGetBooleanv(int arg0, IntBuffer arg1) { }
예제 #20
0
 public static void glUniform4iv(int arg0, int arg1, IntBuffer arg2) { }
예제 #21
0
 public static void glGetFramebufferAttachmentParameteriv(int arg0, int arg1, int arg2, IntBuffer arg3) { }
예제 #22
0
 public static void glGetIntegerv(int arg0, IntBuffer arg1) { }
예제 #23
0
 public static void glDeleteFramebuffers(int arg0, IntBuffer arg1) { }