Enable() private method

private Enable ( GLOption cap ) : void
cap GLOption
return void
Exemplo n.º 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);
 }