C4 Engine
C4 Engine API Documentation

Attribute::SetAttributeFlags

Defined in:  C4Attributes.h
Sets the attribute flags.
Prototype

void SetAttributeFlags(uint32 flags);

Parameters
flags The new attribute flags.
Description
The SetAttributeFlags function sets the attribute flags to those specified by the flags parameter. The flags can be a combination (through logical OR) of the following constants.
kAttributeMutable The constant data in the attribute, such as a color, is mutable. This means that the data is loaded as a shader parameter instead of being inlined as a literal constant.
The initial value of the flags is set when the attribute is constructed, and it is set to zero by default if omitted.
See Also

Attribute::GetAttributeFlags