love.graphics.setPixelEffect

Available since LÖVE 0.8.0
This function is not supported in earlier versions.


Sets or resets a PixelEffect as the current pixel shader. All drawing operations until the next love.graphics.setPixelEffect will be drawn using the PixelEffect object specified.

Function

Synopsis

love.graphics.setPixelEffect( pixeleffect )

Arguments

PixelEffect pixeleffect
The new pixel effect.

Returns

Nothing.

Notes

Sets the current pixel shader to a specified PixelEffect. All drawing operations until the next love.graphics.setPixelEffect will be drawn using the PixelEffect object specified.

Function

Synopsis

love.graphics.setPixelEffect( )

Arguments

None.

Returns

Nothing.

Notes

Disables pixel effects, allowing unfiltered drawing operations.

See Also


Other Languages