Inheritance: EventDispatcher → Node →
This node can be used to group single instances of UniformNode and manage them as a uniform buffer.
In most cases, the predefined nodes objectGroup, renderGroup and frameGroup will be used when defining the UniformNode#groupNode property.
objectGroup: Uniform buffer per object.renderGroup: Shared uniform buffer, updated once per render call.frameGroup: Shared uniform buffer, updated once per frame.Constructs a new uniform group node.
name
The name of the uniform group node.
shared
Whether this uniform group node is shared or not.
Default is false.
order
Influences the internal sorting.
Default is 1.
updateType
The update type of the uniform group node.
Default is null.
This flag can be used for type testing.
Default is true.
The name of the uniform group node.
Overrides: Node#name
Influences the internal sorting. TODO: Add details when this property should be changed.
Default is 1.
Whether this uniform group node is shared or not.
Default is false.
The update type of the uniform group node.
Default is null.
Overrides: Node#updateType
Deserializes the uniform group node from a JSON object.
data
The object containing the serialized data.
Overrides: Node#deserialize
Serializes the uniform group node to a JSON object.
data
The object to store the serialized data.
Overrides: Node#serialize
Marks the uniform group node as needing an update. This will trigger the necessary updates in the rendering process.
Overrides: Node#update