mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Added a new texture wrap mode "clampzero", which outputs transparent black (or opaque black for textures without an alpha channel) rather than the texture's edge colors, when it's drawn or sampled from outside of its regular texture coordinate range.
This commit is contained in:
@@ -43,6 +43,7 @@ public:
|
||||
enum WrapMode
|
||||
{
|
||||
WRAP_CLAMP,
|
||||
WRAP_CLAMP_ZERO,
|
||||
WRAP_REPEAT,
|
||||
WRAP_MIRRORED_REPEAT,
|
||||
WRAP_MAX_ENUM
|
||||
|
||||
Reference in New Issue
Block a user