TileMode
bookmark_borderbookmark
Stay organized with collections
Save and categorize content based on your preferences.
class TileMode
Summary
Enum values |
Replicate the edge color if the shader draws outside of its original bounds.
|
Render the shader's image pixels only within its original bounds.
|
Repeat the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam.
|
Repeat the shader's image horizontally and vertically.
|
Enum values
CLAMP
enum val CLAMP : Shader.TileMode
Replicate the edge color if the shader draws outside of its original bounds.
DECAL
enum val DECAL : Shader.TileMode
Render the shader's image pixels only within its original bounds. If the shader draws outside of its original bounds, transparent black is drawn instead.
MIRROR
enum val MIRROR : Shader.TileMode
Repeat the shader's image horizontally and vertically, alternating mirror images so that adjacent images always seam.
REPEAT
enum val REPEAT : Shader.TileMode
Repeat the shader's image horizontally and vertically.
With the ability to publish rapidly to over 2 billion active Android devices, Google Play helps you grow a global audience for your apps and games and earn revenue.
Updated Nov 28, 2024
With the ability to publish rapidly to over 2 billion active Android devices, Google Play helps you grow a global audience for your apps and games and earn revenue.
Updated Jul 29, 2024
With the ability to publish rapidly to over 2 billion active Android devices, Google Play helps you grow a global audience for your apps and games and earn revenue.
Updated Dec 3, 2024
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2024-04-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-04 UTC."],[],[]]