DrawSetTexture: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (added class)
 
Line 7: Line 7:
* [[DrawTexturedSubRect]]
* [[DrawTexturedSubRect]]
* [[DrawTexturedPolygon]]
* [[DrawTexturedPolygon]]
{{note|You must call [[DrawSetColor]] before drawing the texture.}}
[[Category:ISurface]]
[[Category:ISurface]]

Latest revision as of 20:01, 6 October 2006

Return to ISurface DrawTexturedRect

void ISurface::DrawSetTexture(int id)

Use this before a draw function:

Note.pngNote:You must call DrawSetColor before drawing the texture.