class EE::Graphics::VertexShader¶
Prebuild Vertex Shader class.
#include <shader.hpp> class VertexShader: public EE::Graphics::Shader { public: // construction VertexShader(); VertexShader(const std::string& Filename); VertexShader(const char* Data, const Uint32& DataSize); VertexShader(Pack* Pack, const std::string& Filename); VertexShader(const char** Data, const Uint32& NumLines); };
Inherited Members¶
public: // methods static void ensure(bool ensure); static bool ensure(); void setSource(const std::string& Source); void setSource(const std::vector<Uint8>& Source); void setSource(const char* Data, const Uint32& DataSize); void setSource(const char** Data, const Uint32& NumLines); bool compile(); bool isValid() const; bool isCompiled() const; std::string compileLog() const; Uint32 getType() const; Uint32 getId() const; void reload();