-
-
Notifications
You must be signed in to change notification settings - Fork 83
Expanded texture APIs #254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 1.20
Are you sure you want to change the base?
Conversation
ca89c2b
to
27cbe7a
Compare
a2dad98
to
bce239f
Compare
c673316
to
4d5a611
Compare
This comment has been minimized.
This comment has been minimized.
9e91c6d
to
d534f41
Compare
d534f41
to
afdbe67
Compare
4dc7bc5
to
a1b446f
Compare
c6ae3a7
to
1117581
Compare
d4e6a11
to
cf9b01a
Compare
3f2383a
to
e10334e
Compare
mfw when testing |
do mark it as ready when it's ready cause like otherwise how will I know |
look, for this one I did test all of the features, i don't have like a full avatar that uses a bunch of them at the same time in weird edge-case ways |
oh okay, just mark it as ready for review when you think it's ready to be merged |
i want to throw pallete swapping functionality on top of this because it's in the same general area before it gets merged if that's okay with you (there's a separate feature request for this) |
Okay, that's fine by me 👍🏻 |
b8f8e50
to
f879f16
Compare
f879f16
to
c30e23b
Compare
- remove applyFilter because of performance issues and general 'who would ever use this' - remove FlexibleMatrix and FlexibleVector because they are now unused and maybe another PR should implement them instead
moves & renames BlendMode to be outside BlitOptions contains cursed dispatcher. someone please redesign @LuaWhitelist to support overloads thanks
(in applyFunc/applyMatrix where we already have the Actual Position from the Virtual Position)
also i can't get my dev env to work right now hold on
f3a59b5
to
3deef67
Compare
4P5's feature request: Thread
DogeIsCut's feature request: Thread
Feature List
Texture:multiply(Texture, x, y, w, h)
,:add
,:subtract
,:divide
Texture:resize(outputName, x, y
, mode
)
Texture:invert(x, y, w, h, invertAlpha?)
Texture:blit(options)
Texture:setWrapMode(mode)
Texture:setOverflowMode(mode)
error
(default)ignore
(akadiscard
)wrap
mirror
clamp
Texture:getOverflowMode()
Texture:line(x1, y1, x2, y2, color)
Texture:remapColors(from, to)
Texture:applyMatrix
: removeclip
getWidth(): int
,getHeight(): int
to Lua allowlistBug fixes too
fill
diverges between 1.20 and 1.21.4 (probably 1.21.3)Finishing touches
Live GitHub Actions (1.20)
All branches (cherry-pick): Multitarget build
most branches which have diverged significantly from 1.20 have merge conflicts, sorry paladin