Shader:hasStage;

This commit is contained in:
bjorn
2021-05-25 23:28:38 -06:00
committed by bjorn
parent f6559ce49e
commit a1c79c45d8
3 changed files with 23 additions and 0 deletions
+5
View File
@@ -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.
**/