mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Shader:hasStage;
This commit is contained in:
@@ -167,6 +167,11 @@ public:
|
||||
Shader(ShaderStage *vertex, ShaderStage *pixel);
|
||||
virtual ~Shader();
|
||||
|
||||
/**
|
||||
* Check whether a Shader has a stage.
|
||||
**/
|
||||
bool hasStage(ShaderStageType stage);
|
||||
|
||||
/**
|
||||
* Binds this Shader's program to be used when rendering.
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user