---
title: SCNBufferFrequency.perFrame
framework: scenekit
role: symbol
role_heading: Case
path: scenekit/scnbufferfrequency/perframe
---

# SCNBufferFrequency.perFrame

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

## Declaration

```swift
case perFrame
```

## Discussion

Discussion Use this option when the contents of the buffer should be uniform across all uses of the shader when rendering a single frame, no matter how many different nodes, geometries, and materials use the shader program.

## See Also

### Constants

- [SCNBufferFrequency.perNode](scenekit/scnbufferfrequency/pernode.md)
- [SCNBufferFrequency.perShadable](scenekit/scnbufferfrequency/pershadable.md)
