CVB.Net 14.0
PfncFormatValue Class Reference

Helper methods for PfncFormat values. More...

Static Public Member Functions

static PfncFormat From (ColorModel colorModel, DataType dataType)
 Tries to coerce the PfncFormat from the given colorModel and dataType . More...
 
static string ToString (PfncFormat pixelFormat)
 Gets the official name for the given pixelFormat . More...
 

Detailed Description

Helper methods for PfncFormat values.

Member Function Documentation

◆ From()

static PfncFormat From ( ColorModel  colorModel,
DataType  dataType 
)
static

Tries to coerce the PfncFormat from the given colorModel and dataType .

Parameters
colorModelCVB color model.
dataTypeCVB data type.
Returns
The matching PfncFormat; PfncFormat.InvalidPixelFormat if not successful.

◆ ToString()

static string ToString ( PfncFormat  pixelFormat)
static

Gets the official name for the given pixelFormat .

Parameters
pixelFormatPFNC pixel format to get name of.
Returns
Name of the given pixelFormat .