Contents

SCNBufferFrequency.perNode

Execute the binding handler once for each frame, for each node to be rendered using the shader.

Declaration

case perNode

Discussion

Use this option when the contents of the buffer should be uniform across multiple geometries or materials, but specific to each node rendered using the shader. For example, a node-specific buffer might contain information based on the node’s position and transform.

See Also

Constants