enable


Description:

public void enable (string attribute_name)

Enables a previosuly disabled attribute.

Note:

Use the CoglPrimitive api instead

Since it can be costly to add and remove new attributes to buffers; to make individual buffers more reuseable it is possible to enable and disable attributes before using a buffer for drawing.

You don't need to call submit after using this function

Parameters:

attribute_name

The name of the attribute you want to enable

handle

A vertex buffer handle