Enum SurfaceTool.CustomFormat
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum SurfaceTool.CustomFormat : long
Fields
Max = 8
Used to indicate a disabled custom channel.
RFloat = 4
Stores data passed to SetCustom(int, Color) as full precision floats, and uses only red color channel. See RFloat.
RgFloat = 5
Stores data passed to SetCustom(int, Color) as full precision floats, and uses only red and green color channels. See RgFloat.
RgHalf = 2
Stores data passed to SetCustom(int, Color) as half precision floats, and uses only red and green color channels. See RgHalf.
RgbFloat = 6
Stores data passed to SetCustom(int, Color) as full precision floats, and uses only red, green and blue color channels. See RgbFloat.
Rgba8Snorm = 1
Limits range of data passed to SetCustom(int, Color) to signed normalized -1 to 1 stored in 8 bits per channel. See Rgba8Snorm.
Rgba8Unorm = 0
Limits range of data passed to SetCustom(int, Color) to unsigned normalized 0 to 1 stored in 8 bits per channel. See Rgba8Unorm.
RgbaFloat = 7
Stores data passed to SetCustom(int, Color) as full precision floats, and uses all color channels. See RgbaFloat.
RgbaHalf = 3
Stores data passed to SetCustom(int, Color) as half precision floats and uses all color channels. See RgbaHalf.