|
Hymn to Beauty
C++ 3D Engine
|
Vulkan implementation of Shader. More...
#include <VulkanShader.hpp>
Public Member Functions | |
| VulkanShader (VkDevice device, const ShaderSource &shaderSource, Type type) | |
| Create new Vulkan shader. More... | |
| ~VulkanShader () final | |
| Destructor. More... | |
| VkShaderModule | GetShaderModule () const |
| Get the Vulkan shader module. More... | |
| VkShaderStageFlagBits | GetShaderStage () const |
| Get the shader stage. More... | |
| const ShaderSource::ReflectionInfo & | GetReflectionInfo () const |
| Get reflection info. More... | |
Public Member Functions inherited from Video::Shader | |
| Shader () | |
| Create a new shader. More... | |
| virtual | ~Shader () |
| Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from Video::Shader | |
| enum class | Type { VERTEX_SHADER , FRAGMENT_SHADER , COMPUTE_SHADER } |
| The type of shader. More... | |
Vulkan implementation of Shader.
| Video::VulkanShader::VulkanShader | ( | VkDevice | device, |
| const ShaderSource & | shaderSource, | ||
| Type | type | ||
| ) |
Create new Vulkan shader.
| device | Vulkan device. |
| shaderSource | The source of the shader, generated by the shader processor. |
| type | The type of shader to create. |
|
final |
Destructor.
| const ShaderSource::ReflectionInfo & Video::VulkanShader::GetReflectionInfo | ( | ) | const |
Get reflection info.
| VkShaderModule Video::VulkanShader::GetShaderModule | ( | ) | const |
Get the Vulkan shader module.
| VkShaderStageFlagBits Video::VulkanShader::GetShaderStage | ( | ) | const |
Get the shader stage.