Skip to content

raylib.GetShaderLoc

JoeStrout edited this page Nov 16, 2026 · 1 revision

Get one entry of a shader's location table (SHADER_LOC_MATRIX_MODEL, SHADER_LOC_VECTOR_VIEW...): the uniform or attribute location raylib uses for it, or -1 if none

Parameters

Parameter Default Value Note
shader
locIndex

Return value

Condition Return Value
(always) number

Notes

Clone this wiki locally