![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IAttribute interface.
This interface represents a generic vertex attribute object that exposes properties such as predefined item, variable name, data type or byte offset into a vertex array entry.
Get the zero-based index of this attribute.
Integer GetIndex()
Get the attribute's user-defined variable name. If the attribute is a predefined one, this method always returns an empty string.
String GetName()
Get the attribute's predefined item. If the attribute is a user-defined one, this method always returns IEnums::ATTRIBUTE_ITEM_CUSTOM.
Murl.IEnums.AttributeItem GetItem()
Get the attribute's data type.
Murl.IEnums.AttributeType GetType()
Query if the attribute values are being normalized in the shader.
Boolean IsNormalizing()
Get the attribute's byte offset. This method returns the attribute's byte offset relative to the beginning of a single vertex entry.
Integer GetByteOffset()