prevColorTexture
The previous color texture for this frame interpolator during the last call to encode work into a command buffer.
Declaration
var prevColorTexture: (any MTLTexture)? { get set }Discussion
The frame interpolator typically uses the previous color texture as part of its operation. When you call encode(commandBuffer:) and its shouldResetHistory property is false, then you are responsible for assigning to this property the data that in colorTexture from the previous call to encode(commandBuffer:).
Additionally, you are responsible for ensuring the usage and pixel format of the texture you assign to this property matches the texture usage colorTextureUsage requests and the pixel format that colorTextureFormat requests.