Legacy GM [Likely Solved] How to check if texture interpolation is on/off?

Gamerev147

Member
By default it is turned off. Unless you enabled it, it's still off.
A way to keep track of texture interpolation would be by using a global variable, set it to be whatever your tex interpolation is.

Hopefully that made sense...
 

jonjons

Member
I think want Edwin is trying to ask, is for a way to set the value... like with image alpha there 0 and 1, and between 0,5..986956..etc..
i dont think this is possible with texture interpolation
 

Edwin

Member
I think want Edwin is trying to ask, is for a way to set the value... like with image alpha there 0 and 1, and between 0,5..986956..etc..
i dont think this is possible with texture interpolation
I see you didn't understood, I'm so sorry for my english! GameMaker: Studio has a function called texture_set_interpolation. It changes pixel interpolation's value to whatever you need (true or false). So I need a function that checks the pixel interpolation's current value, again, like true or false.

interpolation.png
 

Edwin

Member
By default it is turned off. Unless you enabled it, it's still off.
A way to keep track of texture interpolation would be by using a global variable, set it to be whatever your tex interpolation is.

Hopefully that made sense...
So I need to create a global variable and set it on my current pixel interpolation, right? That really makes sense! Thanks a lot!
 
Top