ExpressionInfo Data Interface
Provides script language access to C++ objects of this type.
Class Hierarchy | Type » ExpressionInfo |
Function Members
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | Clear | Resets the <ExpressionInfo> object to its constructor defaults. |
int32 | Memcmp | Internal use only. |
Object Members
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
<Int32Array> | ArraySubscripts | Returns a pointer to an <Int32Array> containing the array subscript values. For the <Int32ArrayNode: int my_int[2][3][4] this function returns an <Int32Array> containing the values 2, 3, 4. |
int32 | ArrayCount | Gets or sets the <ExpressionInfo> array count. |
int32 | Cols | Gets or sets the cols parameter. This represents the number of columns in a matrix or vector. A vector must have a single column and a matrix may have 2, 3, or 4 columns. |
int32 | CopyMemory | Gets or sets the CopyMemory flag. When true, calls to SetParams on <DataCapture> objects will cause the memory from compatible objects to be copied. |
int32 | GlTypeCode | Gets or sets the OpenGL® type code. This refers to values from GLEXT.H such as #define GL_FLOAT16_NV 0x8FF8. This can be used to map <VariableNode> and <DataCapture> objects onto OpenGL® types. |
int32 | Rows | Gets or sets the rows parameter. This represents the number of rows in a matrix or vector. Vectors and matrices may have 2, 3, or 4 rows. |
int32 | ScalarCount | Returns the number of scalar elements in the queried object. For example: a vec4 has four scalars. An array of 2 vec3 objects has six scalars. An array of 2 <Float32Matrix> objects has 32 scalars. |
int32 | SizeOfData | Sets or gets an int32 that returns the size in bytes of the underlying data. For an <Int32Node>, this function returns 4. For an <Int32ArrayNode with 4 values, this function returns 16. |
int32 | SizeOfElement | Returns the size in bytes of the underlying data. For an <Int32Node>, this function returns 4. For an <Int32ArrayNode with 4 values, this function still returns 4. |