disable


Description:

public void disable (string attribute_name)

Disables a previosuly added 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 disable

handle

A vertex buffer handle