-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.SetShaderValueTexture
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Set shader uniform value for texture
| Parameter | Default Value | Note |
|---|---|---|
| shader | ||
| locIndex | ||
| texture |
None.
shader = raylib.LoadShader(null, "shaders/blend.glsl")
tex = raylib.LoadTexture("mask.png")
loc = raylib.GetShaderLocation(shader, "mask")
raylib.SetShaderValueTexture shader, loc, tex