Channel reading method for FontType.SignedDistanceField
.
Variables
@:value(cast 3)@:impl@:enuminlineread onlyAlpha:SDFChannel = 3
Use alpha channel of a texture to determine distance.
@:value(cast 2)@:impl@:enuminlineread onlyBlue:SDFChannel = 2
Use blue channel of a texture to determine distance.
@:value(cast 1)@:impl@:enuminlineread onlyGreen:SDFChannel = 1
Use green channel of a texture to determine distance.
@:value(cast 4)@:impl@:enuminlineread onlyMultiChannel:SDFChannel = 4
Use RGB channels of a texture to determine distance. See here for details: https://github.com/Chlumsky/msdfgen
@:value(cast 0)@:impl@:enuminlineread onlyRed:SDFChannel = 0
Use red channel of a texture to determine distance.