BaseSamplerShader

BaseSamplerShader

A simple shader to emulate a PIXI.Sprite with a PIXI.Mesh (but faster!)

Constructor

new BaseSamplerShader()

Extends

Members

_defaults :object

Inherited From:

The initial default values of shader uniforms

Type:
  • object

defaultUniforms :object

Overrides:

The default uniform values for the shader. A subclass of AbstractBaseShader must implement the defaultUniforms static field.

Type:
  • object

fragmentShader :string

Overrides:

The raw fragment shader used by this class. A subclass of AbstractBaseShader must implement the fragmentShader static field.

Type:
  • string

vertexShader :string

Overrides:

The raw vertex shader used by this class. A subclass of AbstractBaseShader must implement the fragmentShader static field.

Type:
  • string