enum
Eagle::GPU::Wrap
Overview
What a texture shows outside its edges. Repeat tiles it, which Graphics#draw_tiled and
floor textures need. Mirror tiles with every other copy flipped, and Clamp stretches the edge pixels.
Defined in:
eagle/gpu/device.crEnum Members
-
Clamp =
0 -
Stretch the edge pixels.
-
Repeat =
1 -
Tile the texture.
-
Mirror =
2 -
Tile with every other copy flipped.
Instance Method Summary
-
#clamp?
Returns
trueif this enum value equalsClamp -
#mirror?
Returns
trueif this enum value equalsMirror -
#repeat?
Returns
trueif this enum value equalsRepeat