Pass:getTarget

Returns the textures a render pass is rendering to.

target = Pass:getTarget()

Arguments

None

Returns

NameTypeDescription
targettable A table of the color textures targeted by the pass, with an additional depth key if the pass has a depth texture.

See also