DrawSetTexture: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{navbar-first|ISurface|DrawTexturedRect}}
{{navbar-first|ISurface|DrawTexturedRect}}
=void '''DrawSetTexture'''(int id)=
=void [[ISurface]]::'''DrawSetTexture'''(int id)=
Use this before [[DrawTexturedRect]].
Use this before a draw function:
* [[DrawTexturedRect]]
* [[DrawTexturedLine]]
* [[DrawTexturedPolyLine]]
* [[DrawTexturedSubRect]]
* [[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.