class
#include <OE/Graphics/API/Shader.hpp>
Shader
Contents
Derived classes
Public static functions
Constructors, destructors, conversion operators
Public functions
- void attachFromFile(ShaderType type, std::string& path, bool binary = false)
- void attach(ShaderType type, const std::string& source, const ShaderReflection& reflection)
- void attachFromSource(ShaderType type, const std::string& source) pure virtual
- void attachFromBinary(ShaderType type, const std::vector<char>& binary) pure virtual
- void finalize() pure virtual
- void bind() const pure virtual
- void matchLayout(Mesh* mesh) const virtual
- auto getReflections() const -> const ShaderReflections&