Difference between revisions of "love.graphics.setPixelEffect"

(Created page with "{{newin|0.8.0|080|type=function}} Sets or resets a PixelEffect as the current pixel shader. All drawing operations until the next ''love.graphics.setPixelEffect'' will b...")
(No difference)

Revision as of 23:14, 15 August 2011

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