Enable() 개인적인 메소드

private Enable ( GLOption cap ) : void
cap GLOption
리턴 void
예제 #1
0
 public GLTextureRectangle(GraphicsInterface gi, int width, int height, TextureInternalFormat internalFormat, TexturePixelFormat pixelFormat, PixelComponentType pixelType)
     : base(gi, TextureBindTarget.Rectangle)
 {
     gi.Enable(GLOption.TextureRectangle);
     SetupTexture2D(gi, width, height, internalFormat, pixelFormat, pixelType, IntPtr.Zero, false);
 }