VkCV Framework
0.0.1
CV Vulkan framework
|
ShaderProgram class to handle and prepare the shader stages for a graphics pipeline. More...
#include "vkcv/ShaderProgram.hpp"
#include "vkcv/Logger.hpp"
Go to the source code of this file.
Functions | |
std::vector< char > | vkcv::readShaderCode (const std::filesystem::path &shaderPath) |
VertexAttachmentFormat | vkcv::convertFormat (spirv_cross::SPIRType::BaseType basetype, uint32_t vecsize) |
ShaderProgram class to handle and prepare the shader stages for a graphics pipeline.
Definition in file ShaderProgram.cpp.
std::vector<char> vkcv::readShaderCode | ( | const std::filesystem::path & | shaderPath | ) |
Reads the file of a given shader code. Only used within the class.
[in] | relative | path to the shader code |
References vkcv::readShaderCode().
Referenced by vkcv::readShaderCode().