Enumeration Casemigueldeicaza.swiftgodot 0.45.0SwiftGodot
rFloat
Stores data passed to setCustom(channelIndex:customColor:)
as full precision floats, and uses only red color channel. See Mesh/ArrayCustomFormat/arrayCustomRFloat
.
case rFloat
Other cases
case rgba8Unorm
Limits range of data passed to
setCustom(channelIndex:customColor:)
to unsigned normalized 0 to 1 stored in 8 bits per channel. SeeMesh/ArrayCustomFormat/arrayCustomRgba8Unorm
.case rgba8Snorm
Limits range of data passed to
setCustom(channelIndex:customColor:)
to signed normalized -1 to 1 stored in 8 bits per channel. SeeMesh/ArrayCustomFormat/arrayCustomRgba8Snorm
.case rgHalf
Stores data passed to
setCustom(channelIndex:customColor:)
as half precision floats, and uses only red and green color channels. SeeMesh/ArrayCustomFormat/arrayCustomRgHalf
.case rgbaHalf
Stores data passed to
setCustom(channelIndex:customColor:)
as half precision floats and uses all color channels. SeeMesh/ArrayCustomFormat/arrayCustomRgbaHalf
.case rgFloat
Stores data passed to
setCustom(channelIndex:customColor:)
as full precision floats, and uses only red and green color channels. SeeMesh/ArrayCustomFormat/arrayCustomRgFloat
.case rgbFloat
Stores data passed to
setCustom(channelIndex:customColor:)
as full precision floats, and uses only red, green and blue color channels. SeeMesh/ArrayCustomFormat/arrayCustomRgbFloat
.case rgbaFloat
Stores data passed to
setCustom(channelIndex:customColor:)
as full precision floats, and uses all color channels. SeeMesh/ArrayCustomFormat/arrayCustomRgbaFloat
.case max
Used to indicate a disabled custom channel.