Type Paint Object SnapshotObject Library display.* Revision Release 2024.3703 Keywords color See also display.newSnapshot() snapshot:invalidate()
The clear color controls how the snapshot's texture is cleared when the snapshot is invalidated.
By default, the texture is cleared with 0
for all color channels.
snapshot.clearColor
-- Clear with red snapshot.clearColor = { 1, 0, 0 }