Available since LÖVE 0.9.2
This function is not supported in earlier versions.
Gets information about an 'extern' ('uniform') variable in the shader.
Returns nil if the variable name doesn't exist in the shader, or if the video driver's shader compiler has determined that the variable doesn't affect the final output of the shader.
type, components, arrayelements = Shader:getExternVariable( name )
string name
ShaderVariableType type (nil)
number components (nil)
number arrayelements (nil)
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Shader:getExternVariable