AttributeKeys#
- class omni.graph.tools.ogn.AttributeKeys#
Bases:
object
Container for the text for all of the .ogn keywords used at the attribute definition level
Methods
Attributes
Metadata list of all allowed tokens on a token-type attribute
Metadata of the type of array pointers for GPU data
Default value of the attribute
Is the attribute deprecated?
Full description of the attribute
Attribute keywords required to exist for all attributes
Maximum value the numeric attribute can use
Memory location preferred by the generated attribute access code
General string-based metadata
Minimum value the numeric attribute can use
The attribute is not required to be valid to allow compute
Attribute keys that are always directly processed, not relying on AttributeManager derived classes to do it
The type of attribute data
The name of the attribute as it will appear in the UI
True if an extended attribute does not have to be resolved to allow compute
- __init__()#
- ALLOWED_TOKENS = 'allowedTokens'#
Metadata list of all allowed tokens on a token-type attribute
- CUDA_POINTERS = 'cudaPointers'#
Metadata of the type of array pointers for GPU data
- DEFAULT = 'default'#
Default value of the attribute
- DEPRECATED = 'deprecated'#
Is the attribute deprecated?
- DESCRIPTION = 'description'#
Full description of the attribute
- MANDATORY = ['description', 'type']#
Attribute keywords required to exist for all attributes
- MAXIMUM = 'maximum'#
Maximum value the numeric attribute can use
- MEMORY_TYPE = 'memoryType'#
Memory location preferred by the generated attribute access code
- METADATA = 'metadata'#
General string-based metadata
- MINIMUM = 'minimum'#
Minimum value the numeric attribute can use
- OPTIONAL = 'optional'#
The attribute is not required to be valid to allow compute
- PROCESSED = ['description', 'type', 'cudaPointers', 'default', 'deprecated', 'memoryType', 'metadata', 'optional', 'uiName', 'unvalidated', 'allowedTokens']#
Attribute keys that are always directly processed, not relying on AttributeManager derived classes to do it
- TYPE = 'type'#
The type of attribute data
- UI_NAME = 'uiName'#
The name of the attribute as it will appear in the UI
- UNVALIDATED = 'unvalidated'#
True if an extended attribute does not have to be resolved to allow compute