I've been trying to extract what I need from the sprite plugin, but nothing seems to work
I tried something as simple as:
renderer->setTexture(image);
renderer->Quad_xywh(50,50,100, 100);
and that doesn't work
I also tried copypasting renderdistorted(...)
but using my own distortion values, and nothing I draw renders anything to screen at all
let's say I just want to draw a triangle at 3 points(x,y,u,v),
p1,p2,p3
and I have TextureHandle image;
what do I need to do? bare minimum to get a triangle on screen,
any help would be appreciated
if it matters for now, I'm getting image by :
:
param[0].GetParamFirstInstance(pRuntime)->info.CurTexture