Enumeration Case

SCNBufferFrequency.perShadable

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

Declaration

case perShadable = 2

Discussion

Use this option when the contents of the buffer should be specific to each geometry or material whose program property is set to this shader. For example, a material-specific buffer might contain information to be used in animating a texture.