|
Hymn to Beauty
C++ 3D Engine
|
Vulkan implementation of ShaderProgram. More...
#include <VulkanShaderProgram.hpp>
Classes | |
| struct | StorageBufferInfo |
| Informationa bout a storage buffer used in the shader program. More... | |
Public Member Functions | |
| VulkanShaderProgram (VulkanRenderer *vulkanRenderer, std::initializer_list< const Shader * > shaders) | |
| Create new Vulkan shader program. More... | |
| ~VulkanShaderProgram () final | |
| Destructor. More... | |
| const std::vector< const VulkanShader * > & | GetShaders () const |
| Get the shaders in the shader program. More... | |
| const VkDescriptorSetLayout * | GetDescriptorSetLayouts () const |
| Get the descriptor set layouts. More... | |
| const VkPushConstantRange * | GetPushConstantRange () const |
| Get the push constant range. More... | |
| const StorageBufferInfo & | GetStorageBufferInfo (uint32_t binding) const |
| Get reflection info about a storage buffer used in the shader. More... | |
Public Member Functions inherited from Video::ShaderProgram | |
| ShaderProgram () | |
| Create a new shader program. More... | |
| virtual | ~ShaderProgram () |
| Destructor. More... | |
Additional Inherited Members | |
Public Types inherited from Video::ShaderProgram | |
| enum | BindingType { MATRICES , MATERIAL , UNIFORMS , STORAGE_BUFFER , BINDING_TYPES } |
| A type of bound resource. More... | |
Vulkan implementation of ShaderProgram.
| Video::VulkanShaderProgram::VulkanShaderProgram | ( | VulkanRenderer * | vulkanRenderer, |
| std::initializer_list< const Shader * > | shaders | ||
| ) |
Create new Vulkan shader program.
| vulkanRenderer | The Vulkan renderer. |
| shaders | List of shaders to link together. |
|
final |
Destructor.
| const VkDescriptorSetLayout * Video::VulkanShaderProgram::GetDescriptorSetLayouts | ( | ) | const |
Get the descriptor set layouts.
| const VkPushConstantRange * Video::VulkanShaderProgram::GetPushConstantRange | ( | ) | const |
Get the push constant range.
| const std::vector< const VulkanShader * > & Video::VulkanShaderProgram::GetShaders | ( | ) | const |
Get the shaders in the shader program.
| const VulkanShaderProgram::StorageBufferInfo & Video::VulkanShaderProgram::GetStorageBufferInfo | ( | uint32_t | binding | ) | const |
Get reflection info about a storage buffer used in the shader.
| binding | Which binding to get information about. |