public bool Equals(RenderProgram other) { return(BlendMode.Equals(other.BlendMode) && Equals(Shader, other.Shader) && Equals(Texture, other.Texture) && DrawLayer == other.DrawLayer); }