Options
Menu

Class ShaderRegisterElement

A single register element (an entire register or a single register's component) used by the RegisterPool.

Hierarchy

  • ShaderRegisterElement

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Creates a new ShaderRegisterElement object.

    Parameters

    • regName: string

      The name of the register.

    • index: number

      The index of the register.

    • Default value component: number = -1

      The register's component, if not the entire register is represented.

    Returns ShaderRegisterElement

Properties

_component

_component: number

Accessors

index

  • get (): number
  • The register's index.

    Returns number

regName

  • get (): string
  • The register's name.

    Returns string

Methods

toString

  • toString(): string
  • Converts the register or the components AGAL string representation.

    Returns string

Generated using TypeDoc