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 |