Available since LÖVE 0.9.2 and removed in LÖVE 11.0 |
It has been replaced by Shader:hasUniform. |
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)