GetShaderLocationAttrib method

int GetShaderLocationAttrib(
  1. ShaderD shader,
  2. String attribName
)

Implementation

int GetShaderLocationAttrib(
  ShaderD shader,
  String attribName,
) => run(
  () => 'GetShaderLocationAttrib($shader, $attribName)',
  () => rl.Core.GetShaderLocationAttrib(
    rl.Temp.Shader$.Ref1(shader).ref,
    rl.Temp.String$.ValueOrNull(attribName),
  ),
);