class EE::Graphics::FragmentShader¶
Prebuild Fragment Shader class.
#include <shader.hpp> class FragmentShader: public EE::Graphics::Shader { public: // construction FragmentShader(); FragmentShader(const std::string& Filename); FragmentShader(const char* Data, const Uint32& DataSize); FragmentShader(Pack* Pack, const std::string& Filename); FragmentShader(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();