OrbitEngine::Graphics::VKShader class

Base classes

class Shader

Public static functions

static auto ShaderTypeToShadercKind(ShaderType type) -> shaderc_shader_kind
static auto ShaderTypeToVKShaderStage(ShaderType type) -> VkShaderStageFlagBits
static auto CreateShaderModule(const std::vector<char>& binary) -> VkShaderModule

Constructors, destructors, conversion operators

VKShader()
~VKShader()

Public functions

void attachFromBinary(ShaderType type, const std::vector<char>& binary) override
void attachFromSource(ShaderType type, const std::string& source) override
void finalize() override
void bind() const override
void unbind() const override
auto getShaderStages() -> std::vector<VkPipelineShaderStageCreateInfo>