Options
All
  • Public
  • Public/Protected
  • All
Menu

Handler class to set uniform ints in the shader program

Hierarchy

  • UniformInt

Index

Constructors

Properties

Methods

Constructors

constructor

  • new UniformInt(gl: WebGL2RenderingContext, position: WebGLUniformLocation): UniformInt
  • Parameters

    • gl: WebGL2RenderingContext
    • position: WebGLUniformLocation

    Returns UniformInt

Properties

Private gl

gl: WebGL2RenderingContext

Private position

position: WebGLUniformLocation

Methods

set

  • set(value: number): void
  • Sends the given int value to the GPU

    Parameters

    • value: number

      The int value to send

    Returns void

Generated using TypeDoc