TImageFrame modifications

BlitzMax Forums/BlitzMax Module Tweaks/TImageFrame modifications

_JIM(Posted 2009) [#1]
Wouldn't it be better if there were more methods inside the TImageFrame type?

If there was a "SetUVs" in there (Abstract), the D3D7 driver already has it implemented and making an implementation for OGL would be trivial.

The advantage would be that custom drawing techniques (like containing options for flipping, tiling, etc.) that need to adjust UVs wouldn't need the whole "If TGLImageFrame(frame) Then ... Else ..." and you could even get away with not including a gfx driver in the build if you don't need it, because you would avoid calling methods from derived types.


Armitage 1982(Posted 2009) [#2]
I already do this with some OGL routine so it would be a very pleasant new feature.
I think many others improvement can be achieved in this area.
Official one would be better than hack.


_JIM(Posted 2009) [#3]
Any chance to get this soon? It would be really nice to have it included in the official source.