Defines the advanced features of the Array Interface.
Registers user-defined structures to the context.
- Parameters
-
[in] | context | The reference to the implementation context. |
[in] | size | The size of user struct in bytes. |
- Returns
- A
vx_enum
value that is a type given to the User to refer to their custom structure when declaring a vx_array
of that structure.
- Return values
-
VX_TYPE_INVALID | If the namespace of types has been exhausted. |
- Note
- This call should only be used once within the lifetime of a context for a specific structure.