Pass:getClear

Edit

Returns the clear values of the pass.

clears = Pass:getClear()

Arguments

None

Returns

NameTypeDescription
clearstable The clear values for the pass. Each color texture's clear value is stored at its index, as either a 4-number rgba table or a boolean. If the pass has a depth texture, there will also be a depth key with its clear value as a number or boolean.

Notes

The default clear color is transparent black.

See also