public GLTexture(int id, int width, int height, PixelFormatDescriptor pixelFormat, TextureTarget dimension) { Id = id; Width = width; Height = height; PixelFormat = pixelFormat; Dimension = dimension; }
private bool Equals(PixelFormatDescriptor other) { return DrawingFormat == other.DrawingFormat && GLPixelInternalFormat == other.GLPixelInternalFormat && GLPixelFormat == other.GLPixelFormat && GLPixelType == other.GLPixelType; }