ShaderTileMode
public enum ShaderTileMode : UInt32
Indications on how the shader should handle drawing outside the original bounds.
-
Replicate the edge color if the shader draws outside of its original bounds.
Declaration
Swift
case clamp = 0 -
Repeat the shader’s image horizontally and vertically.
Declaration
Swift
case repeats -
Repeat the shader’s image horizontally and vertically, alternating mirror images so that adjacent images always seam.
Declaration
Swift
case mirror -
Only draw within the original domain, return transparent-black everywhere else.
Declaration
Swift
case decal
View on GitHub
Install in Dash
ShaderTileMode Enumeration Reference