Functions

ShaderAttribute.location GET Get the location
ShaderAttribute.name GET Get the name
ShaderAttribute.size GET Get the size in numbers of values per vertex
ShaderAttribute:submit(buffer) Submit a buffer or tuple of data

Functions

ShaderAttribute.location GET

Get the location

ShaderAttribute.name GET

Get the name

ShaderAttribute.size GET

Get the size in numbers of values per vertex

ShaderAttribute:submit(buffer)

Submit a buffer or tuple of data

Parameters:

buffer The buffer of values (a array, table, or unpacked list)