Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
* the geometry the mesh will use
* @type {PIXI.Geometry}
*/
this.geometry = geometry;
/**
* the shader the mesh will use
* @type {PIXI.Shader}
*/
this.shader = shader;
/**
* the webGL state the mesh requires to render
* @type {PIXI.State}
*/
this.state = state || new State();
/**
* The way the Mesh should be drawn, can be any of the {@link PIXI.RawMesh.DRAW_MODES} consts
*
* @member {number}
* @see PIXI.RawMesh.DRAW_MODES
*/
this.drawMode = drawMode;
/**
* The way uniforms that will be used by the mesh's shader.
* @member {Object}
*/
/**
* A map of renderer IDs to webgl render data
* the geometry the mesh will use
* @type {PIXI.Geometry}
*/
this.geometry = geometry;
/**
* the shader the mesh will use
* @type {PIXI.Shader}
*/
this.shader = shader;
/**
* the webGL state the mesh requires to render
* @type {PIXI.State}
*/
this.state = state || new State();
/**
* The way the Mesh should be drawn, can be any of the {@link PIXI.Mesh.DRAW_MODES} consts
*
* @member {number}
* @see PIXI.Mesh.DRAW_MODES
*/
this.drawMode = drawMode;
/**
* The way uniforms that will be used by the mesh's shader.
* @member {Object}
*/
/**
* A map of renderer IDs to webgl render data