mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Add pixel effects (love-glsl)
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include "SpriteBatch.h"
|
||||
#include "ParticleSystem.h"
|
||||
#include "Framebuffer.h"
|
||||
#include "PixelEffect.h"
|
||||
|
||||
namespace love
|
||||
{
|
||||
@@ -288,6 +289,8 @@ namespace opengl
|
||||
|
||||
Framebuffer * newFramebuffer(int width, int height);
|
||||
|
||||
PixelEffect * newPixelEffect(const std::string& code);
|
||||
|
||||
/**
|
||||
* Sets the foreground color.
|
||||
* @param c The new foreground color.
|
||||
|
||||
Reference in New Issue
Block a user