The JEShader class.
More...
#include <VulkanShader.h>
The JEShader class.
Abstract base class for derived shader classes. Meant to be extended by shader classes for multiple graphics APIs, e.g., Vulkan, D3DX, OpenGL, etc.
◆ JEShader() [1/2]
JoeEngine::JEShader::JEShader |
( |
| ) |
|
|
delete |
Delete constructor (deleted).
◆ JEShader() [2/2]
JoeEngine::JEShader::JEShader |
( |
const std::string & |
vertPath, |
|
|
const std::string & |
fragPath |
|
) |
| |
|
inline |
◆ ~JEShader()
virtual JoeEngine::JEShader::~JEShader |
( |
| ) |
|
|
virtualdefault |
Destructor (default) (virtual).
◆ Cleanup()
virtual void JoeEngine::JEShader::Cleanup |
( |
| ) |
|
|
pure virtual |
◆ UpdateUniformBuffers()
virtual void JoeEngine::JEShader::UpdateUniformBuffers |
( |
VkDevice |
device, |
|
|
uint32_t |
currentImage |
|
) |
| |
|
pure virtual |
Purely virtual function for updating shader buffers.
- Parameters
-
device | the Vulkan logical device. |
currentImage | the currently active swap chain image. |
Implemented in JoeEngine::JEVulkanShader.
◆ m_fragPath
const std::string JoeEngine::JEShader::m_fragPath |
|
protected |
Path to fragment shader source file.
◆ m_vertPath
const std::string JoeEngine::JEShader::m_vertPath |
|
protected |
Path to vertex shader source file.
The documentation for this class was generated from the following file: