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