Add support for boolean uniforms.
This commit is contained in:
@@ -89,6 +89,7 @@ namespace OpenRA
|
||||
|
||||
public interface IShader
|
||||
{
|
||||
void SetBool(string name, bool value);
|
||||
void SetVec(string name, float x);
|
||||
void SetVec(string name, float x, float y);
|
||||
void SetVec(string name, float[] vec, int length);
|
||||
|
||||
Reference in New Issue
Block a user