15namespace utility::graphic
36 Shader(
const std::string &vertString,
const std::string &fragString);
The Shader class represents a shader program consisting of vertex and fragment shaders.
const std::vector< uint32_t > & getVertexCode() const
Retrieves the SPIR-V bytecode for the vertex shader.
const std::vector< uint32_t > & getFragmentCode() const
Retrieves the SPIR-V bytecode for the fragment shader.
~Shader()=default
Destructor for the Shader class.
std::vector< uint32_t > _fragSPIRV
SPIR-V bytecode for the fragment shader.
std::vector< uint32_t > _vertSPIRV
SPIR-V bytecode for the vertex shader.