public static final enum
Texture.Sampler.WrapMode
Texture.Sampler.WrapMode
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-26 UTC.
[null,null,["Last updated 2024-06-26 UTC."],[],["Texture.Sampler.WrapMode is an enum providing options for texture wrapping. It inherits methods from `java.lang.Enum`, `java.lang.Object`, and `java.lang.Comparable`, including `compareTo`, `equals`, `hashCode`, `name`, `toString`, and `valueOf`. Three wrap modes are defined: `CLAMP_TO_EDGE`, `MIRRORED_REPEAT`, and `REPEAT`. These dictate how a texture is displayed when texture coordinates are outside of the normal range.\n"],null,[]]