Class ImageFormatExtensions
Namespace: ValveResourceFormat.Renderer.Utils
Assembly: Renderer.dll
Facts about an that hold whatever graphics API is in use. The mapping onto an API's own format enums lives with that API's mapper instead.
csharp
public static class ImageFormatExtensionsInheritance
object ← ImageFormatExtensions
Methods
HasSrgbVariant(ImageFormat)
Returns whether the format has an sRGB storage variant.
csharp
public static bool HasSrgbVariant(this ImageFormat format)Parameters
format ImageFormat
Returns
IsBlockCompressed(ImageFormat)
Returns whether the format is block compressed. Block compressed data uploads with the compressed image calls and has no pixel format or type.
csharp
public static bool IsBlockCompressed(this ImageFormat format)Parameters
format ImageFormat

