コード例 #1
0
 public void FramebufferRenderbuffer(FramebufferTarget target, FramebufferAttachment attachment,
                                     RenderbufferTarget renderbufferTarget, int renderbuffer)
 {
     GL.FramebufferRenderbuffer((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment, (OpenTK.Graphics.OpenGL4.RenderbufferTarget)renderbufferTarget, renderbuffer);
 }
コード例 #2
0
 public void FramebufferTexture2D(FramebufferTarget target, FramebufferAttachment attachment, TextureTarget texTarget,
                                  int texture, int level)
 {
     GL.FramebufferTexture2D((OpenTK.Graphics.OpenGL4.FramebufferTarget)target, (OpenTK.Graphics.OpenGL4.FramebufferAttachment)attachment,
                             (OpenTK.Graphics.OpenGL4.TextureTarget)texTarget, texture, level);
 }