Class

ProgramElement

ProgramElement(location, name, type, size)

An element from the shader

Constructor

new ProgramElement(location, name, type, size)

Constructor
Parameters:
Name Type Description
location number Location in the shader
name string His name
type Type Element's type (float, vec, …)
size number Element's size

View Source Program.js, line 126

Members

number

location

Location in the shader

View Source Program.js, line 142

string

name

Name

View Source Program.js, line 150

number

size

Size/Count

View Source Program.js, line 166

Type

type

Type

View Source Program.js, line 158