C4 Engine
C4 Engine API Documentation


Defined in:  C4Attributes.h
Sets the attribute flags.

void SetAttributeFlags(uint32 flags);

flags The new attribute flags.
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