EntropyCanvas::Schema::FieldInfo
EntropyCanvas::Schema::FieldInfo
Section titled “EntropyCanvas::Schema::FieldInfo”Information about a reflected field in a type. More…
#include <Reflection.h>
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| TypeID | type Type identification for the field. |
| size_t | offset Memory offset of the field within the containing object. |
| std::string_view | name The name of the field as a string view. |
| bool | isExtension Whether this field is a USD schema extension (real-time rendering, etc.). |
Detailed Description
Section titled “Detailed Description”struct EntropyCanvas::Schema::FieldInfo;Information about a reflected field in a type.
Contains metadata to access a field: name, type, and memory offset. Created automatically by ENTROPY_FIELD macro.
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable type
Section titled “variable type”TypeID type;Type identification for the field.
variable offset
Section titled “variable offset”size_t offset;Memory offset of the field within the containing object.
variable name
Section titled “variable name”std::string_view name;The name of the field as a string view.
variable isExtension
Section titled “variable isExtension”bool isExtension = false;Whether this field is a USD schema extension (real-time rendering, etc.).
Extension fields are collected into EntropyCanvasRenderAPI rather than the component’s own API schema. This allows using native USD schemas (UsdLux, UsdGeom) while adding Entropy-specific extensions.
Updated on 2026-01-26 at 17:14:35 -0500