Get shader attribute location
shader = raylib.LoadShader("glsl/custom.vs", "glsl/custom.fs") loc = raylib.GetShaderLocationAttrib(shader, "vertexColor") print "Attribute 'vertexColor' at location: " + loc
There was an error while loading. Please reload this page.