Revision Difference
surface.DrawTexturedRectRawUV#568542
<function name="DrawTexturedRectRawUV" parent="surface" type="libraryfunc">⤶
<description>⤶
Draws a textured rectangle with a repeated or partial texture.⤶
⤶
This is identical to <page>surface.DrawTexturedRectUV</page>, but does not suffer from internal UV adjustments made by the engine. It is a separate function to prevent issues with existing content that manually adjusts for the internal UV adjustments.⤶
⤶
For all intents and purposes, this function should be used over its predecessor.⤶
⤶
<rendercontext hook="false" type="2D"></rendercontext>⤶
</description>⤶
<realm>Client and Menu</realm>⤶
<args>⤶
<arg name="x" type="number">The X integer coordinate.</arg>⤶
<arg name="y" type="number">The Y integer coordinate.</arg>⤶
<arg name="width" type="number">The integer width of the rectangle.</arg>⤶
<arg name="height" type="number">The integer height of the rectangle.</arg>⤶
<arg name="startU" type="number">The U texture mapping of the rectangle origin.</arg>⤶
<arg name="startV" type="number">The V texture mapping of the rectangle origin.</arg>⤶
<arg name="endU" type="number">The U texture mapping of the rectangle end.</arg>⤶
<arg name="endV" type="number">The V texture mapping of the rectangle end.</arg>⤶
</args>⤶
<added>2026.10.26</added>⤶
</function>
Garry's Mod
Rust
Steamworks
Wiki Help