GLProgram.attrib

Gets an attribute by name.

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

Parameters

name
Type: string

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

Return Value

A GLAttribute with specified name.

Meta