swizzle
fun swizzle(r: Texture.Swizzle, g: Texture.Swizzle, b: Texture.Swizzle, a: Texture.Swizzle): Texture.Builder
Specifies how a texture's channels map to color components.
Texture Swizzle is only supported if isTextureSwizzleSupported() returns true.
Return
This Builder, for chaining calls.
Parameters
r
texture channel for red component
g
texture channel for green component
b
texture channel for blue component
a
texture channel for alpha component