niFormatPrefs⚓︎
A class that represents a set of preferences for texture formats. These preferences dictate levels of pixel accuracy.
Properties⚓︎
alphaLayout
⚓︎
The Alpha format. Maps to values in ni.textureFormatPrefsAlphaFormat
table.
Returns:
result
(ni.textureFormatPrefsAlphaFormat)
mipLayout
⚓︎
The MIP format. Maps to values in ni.textureFormatPrefsMipFlag
table.
Returns:
result
(ni.textureFormatPrefsMipFlag)
pixelLayout
⚓︎
The pixel layout. Maps to values in ni.textureFormatPrefsPixelLayout
table.
Returns:
result
(ni.textureFormatPrefsPixelLayout)