Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ShaderProgram

Class representing a ShaderProgram, packing together a VertexShader and FragmentShader to produce a complete shader program

Used in registering shader programs on the Game and for use in Entity Shader Components

Hierarchy

  • ShaderProgram

Index

Constructors

Accessors

Constructors

  • Constructor. Take a ShaderProgramConfig

    Parameters

    Returns ShaderProgram

Accessors

  • Retrieve the ShaderProgram's FragmentShader

    Returns FragmentShader

  • get name(): string
  • Retrieve the ShaderProgram's name

    Returns string

  • Retrieve the ShaderProgram's VertexShader

    Returns VertexShader