surface.DrawTexturedRectRawUV
surface.DrawTexturedRectRawUV( number x, number y, number width, number height, number startU, number startV, number endU, number endV )
Recently Added
This was recently added in version (2026.10.26). It might only be available on the Dev Branch right now.
Description
Draws a textured rectangle with a repeated or partial texture.
This is identical to surface.DrawTexturedRectUV, 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.
This is a rendering function that requires a 2d rendering context.
This means that it will only work in 2d Rendering Hooks.
Arguments
Page views: 33
Updated: Today
Updated: Today
Garry's Mod
Rust
Steamworks
Wiki Help