vgl.materialAttribute (class)¶
- class vgl.materialAttribute(type)¶
Create a new instance of class materialAttribute
Arguments: - type –
Returns: rtype: vgl.materialAttribute - vgl.materialAttribute.type()¶
Return tyep of the material attribute
Returns: Return type:
- vgl.materialAttribute.enabled()¶
Return if material attribute is enabled or not
Returns: Return type: boolean
- vgl.materialAttribute.setup(renderState)¶
Arguments: - renderState –
Setup (initialize) the material attribute
Returns: Return type: boolean
- vgl.materialAttribute.bind(renderState)¶
Arguments: - renderState –
Bind and activate the material attribute
Returns: Return type: boolean
- vgl.materialAttribute.undoBind(renderState)¶
Arguments: - renderState –
Undo bind and deactivate the material
Returns: Return type: boolean
- vgl.materialAttribute.setupVertexData(renderState, key)¶
Arguments: - renderState –
- key –
Initialize vertex data for the material attribute
Returns: Return type: boolean
- vgl.materialAttribute.bindVertexData(renderState, key)¶
Arguments: - renderState –
- key –
Bind and activate vertex specific data
Returns: Return type: boolean
- vgl.materialAttribute.undoBindVertexData(renderState, key)¶
Arguments: - renderState –
- key –
Undo bind and deactivate vertex specific data
Returns: Return type: boolean