Skip to content

Conversation

@michael-mcmullen
Copy link

Changes the functions from ApplyUni and LoadUni into ApplyUniform and LoadUniform to keep inline with the "ApplyTexture" (full word).

Also updates the ApplyTexture to use the sprite_get_texture inside of the function call so you just need to pass in the sprite and index (optional).

Finally to keep with the changes above Uni enum has been updated to UNIFORMTYPES.

Rest of the changes are GameMaker because it was opened in a different IDE

Moved sprite_get_texture to inside thus minimizing the shade code

applyTexture("s_grass", spr_grass);
or
applyTexture("s_grass", spr_grass, 0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant