# surface.SetTexture

- **Ortam:** İstemci, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/surface.SetTexture
- **Çeviri tarihi:** 2025-09-08

```lua
surface.SetTexture( number textureID )
```

## Açıklama

Surface kütüphanesi kullanılarak yapılacak tüm çizim işlemlerinde kullanılacak dokuyu (texture) ayarlar.

Bu eski bir yöntemdir ve muhtemelen kullanılmamalıdır. Daha iyi bir alternatif için [surface.SetMaterial](https://gmod.tr/wiki/surface.SetMaterial) ve [IMaterial](https://gmod.tr/wiki/IMaterial) sayfalarına bakın.

## Argümanlar

1. [number](https://gmod.tr/wiki/number) **textureID**: [surface.GetTextureID](https://gmod.tr/wiki/surface.GetTextureID) tarafından döndürülen ve çizimde kullanılacak dokunun (texture) ID'si.

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/surface.SetTexture
