StageVariable constructor

const StageVariable(
  1. String name,
  2. String type, {
  3. int? location,
})

The variable name of type, at location when the GLSL gives one.

Implementation

const StageVariable(this.name, this.type, {this.location});