GLProgram.attrib

Gets an attribute by name.

class GLProgram
@safe pure nothrow const @nogc
attrib
(
string name
)

Parameters

name string

Name of the attribute to get. The program must have this attribute (check with hasAttrib())

Return Value

A GLAttribute with specified name.

Meta