DrawTexturedSubRect

From Valve Developer Community

Back to DrawTexturedPolyLine Return to ISurface Continue to DrawTexturedPolygon

void ISurface::DrawTexturedSubRect( int x0, int y0, int x1, int y1,
float texs0, float text0, float texs1, float text1 )

This function draws a textured rectangle with specified transformation values where tex*0 pertains to the top left and tex*1 pertains to the bottom right.