SamplerMesh

SamplerMesh

A Mesh subclass used to render a texture with faster performance than a PIXI.Sprite.

Constructor

new SamplerMesh()

Extends

  • PIXI.Mesh

Members

QUAD :PIXI.Geometry

The basic quad geometry used for the Mesh

Type:
  • PIXI.Geometry

Methods

(static) create(texture) → {SamplerMesh}

Create a SamplerMesh using a provided RenderTexture

Parameters:
Name Type Description
texture PIXI.RenderTexture

The texture to render using a Mesh

Returns:
Type
SamplerMesh