public static ColorValue UnpackColor(PixelFormat format, IntPtr source) { float r = 0, g = 0, b = 0, a = 1; OgrePixelUtil.unpackColour(out r, out g, out b, out a, format, source); return(new ColorValue(r, g, b, a)); }
public static bool IsDepth(PixelFormat format) { return(OgrePixelUtil.isDepth(format)); }
public static bool IsCompressed(PixelFormat format) { return(OgrePixelUtil.isCompressed(format)); }
public static bool IsFloatingPoint(PixelFormat format) { return(OgrePixelUtil.isFloatingPoint(format)); }
public static bool HasAlpha(PixelFormat format) { return(OgrePixelUtil.hasAlpha(format)); }
public static int GetNumElemBytes(PixelFormat format) { return(OgrePixelUtil.getNumElemBytes(format)); }
public static int GetMemorySize(int width, int height, int depth, PixelFormat format) { return(OgrePixelUtil.getMemorySize(width, height, depth, format)); }