| Spices::VulkanShaderModule::VulkanShaderModule | ( | VulkanState & | vulkanState, |
| const std::string & | shaderName, | ||
| const ShaderStage & | shaderStage, | ||
| const std::vector< uint8_t > & | spirv, | ||
| const std::string & | fullPath ) |
Constructor Function. Create VkShaderModule.
| [in] | vulkanState | The global VulkanState. |
| [in] | shaderName | The Shader name. |
| [in] | shaderStage | The Shader usage stage. |
| [in] | spirv | Spirv Code. |
| [in] | fullPath | Shader full Path. |
Instance a VkShaderModuleCreateInfo.
Create Shader Module.
Add to Aftermath.
Instance a VkShaderModuleCreateInfo.
Create Shader Module.
Add to Aftermath.
Definition at line 78 of file VulkanShaderModule.cpp.
References m_ShaderStage, and Spices::VulkanObject::VulkanObject().