UNPKG

meta-next

Version:

11 lines (9 loc) 276 B
import Engine from "../Engine" function DrawCommand(transform, mesh, material, uniforms, mode) { this.transform = transform this.mesh = mesh this.material = material this.uniforms = uniforms this.mode = mode || Engine.gl.TRIANGLES } export default DrawCommand