mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
love.graphics.dispatchThreadgroups;
This commit is contained in:
@@ -469,6 +469,11 @@ void Graphics::setActive(bool enable)
|
||||
active = enable;
|
||||
}
|
||||
|
||||
void Graphics::dispatch(int x, int y, int z)
|
||||
{
|
||||
glDispatchCompute(x, y, z);
|
||||
}
|
||||
|
||||
void Graphics::draw(const DrawCommand &cmd)
|
||||
{
|
||||
gl.prepareDraw(this);
|
||||
|
||||
@@ -68,6 +68,8 @@ public:
|
||||
|
||||
void setActive(bool active) override;
|
||||
|
||||
void dispatch(int x, int y, int z) override;
|
||||
|
||||
void draw(const DrawCommand &cmd) override;
|
||||
void draw(const DrawIndexedCommand &cmd) override;
|
||||
void drawQuads(int start, int count, const VertexAttributes &attributes, const BufferBindings &buffers, love::graphics::Texture *texture) override;
|
||||
|
||||
Reference in New Issue
Block a user