|
| VulkanShader (const std::string &vertexSrc, const std::string &fragmentSrc, std::shared_ptr< UniformBufferObject > ubo) |
|
virtual void | Bind () const override |
|
virtual void | UnBind () const override |
|
std::vector< uint32_t > | Compile (const std::string &src, const std::string &source, EShLanguage lang) |
|
virtual void | GenerateUniformBufferObject () override |
|
virtual void | BindUniformBufferObject () override |
|
void | UploadUniformMat4 (const std::string &name, const glm::mat4 &matrix) |
|
const std::vector< uint32_t > & | GetVertSpirV () const |
|
const std::vector< uint32_t > & | GetFragSpirV () const |
|
std::shared_ptr< VulkanUniformBuffer > | GetUniformBufferObject () const |
|
| Shader (std::shared_ptr< UniformBufferObject > ubo) |
|
virtual void | Bind (const std::string &texShaderNames) const |
|
std::shared_ptr< UniformBufferObject > | GetUniformBufferObject () const |
|
const std::string & | GetShaderName () const |
|
|
static Shader * | Create (const std::string &vertexSrc, const std::string &fragmentSrc) |
|
static Shader * | Create (const std::string &vertexSrcFile, const std::string &fragmentSrcFile, std::shared_ptr< UniformBufferObject > ubo, bool bIsFile, const std::string &shaderName="NoNamedShader") |
|
std::string | m_ShaderName |
|
◆ Bind()
void Karma::VulkanShader::Bind |
( |
| ) |
const |
|
overridevirtual |
◆ BindUniformBufferObject()
virtual void Karma::VulkanShader::BindUniformBufferObject |
( |
| ) |
|
|
inlineoverridevirtual |
◆ GenerateUniformBufferObject()
virtual void Karma::VulkanShader::GenerateUniformBufferObject |
( |
| ) |
|
|
inlineoverridevirtual |
◆ UnBind()
void Karma::VulkanShader::UnBind |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- Karma/src/Platform/Vulkan/VulkanShader.h
- Karma/src/Platform/Vulkan/VulkanShader.cpp