s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Graphics
TextureAddressMode
chevron_left
Graphics
enum
TextureAddressMode
Static Fields
crop_din
Border
crop_din
Clamp
crop_din
Mirror
crop_din
MirrorOnce
crop_din
Wrap
TextureAddressMode
Specifies how texture coordinates outside the [0.0, 1.0] range are handled.
enum
Sandbox.Rendering
.
sealed
Sandbox.Engine
crop_din
Static Fields
5
Border
TextureAddressMode
Uses a constant border color when sampling outside the [0.0, 1.0] range. Requires a border color to be defined.
Clamp
TextureAddressMode
Clamps the texture coordinates to the [0.0, 1.0] range. Texture edges are stretched when sampling outside the range.
Mirror
TextureAddressMode
Mirrors the texture coordinates when sampling outside the [0.0, 1.0] range. Creates a mirrored tiling effect.
MirrorOnce
TextureAddressMode
Mirrors the texture once, then clamps to the edge. Coordinates in [0.0, 1.0] sample normally, [-1.0, 0.0] mirror once, and everything else clamps.
Wrap
TextureAddressMode
Wraps the texture coordinates. Values beyond 1.0 wrap around to the beginning. Produces a repeating tiling pattern.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.