|
Rehti MMORPG
1.0.0
Rehti MMORPG is a free and open source MMORPG game.
|


Go to the source code of this file.
Namespaces | |
| ShaderManager | |
Typedefs | |
| typedef char const *const | ConstantFilepath |
Functions | |
| VkPipelineShaderStageCreateInfo | ShaderManager::createVertexShaderInfo (VkDevice logDevice, ObjectType objectType) |
| Creates a vertex shader info to be used in pipeline creation. More... | |
| VkPipelineShaderStageCreateInfo | ShaderManager::createFragmentShaderInfo (VkDevice logDevice, ObjectType objectType) |
| Creates a fragment shader info to be used in pipeline creation. More... | |
| void | ShaderManager::destroyShaderModules (VkDevice logDevice) |
| Destroys created shader modules. This function can be called after pipeline creation. More... | |
| std::vector< uint32_t > | ShaderManager::compileGLSLToSpirv (VkShaderStageFlagBits shaderType, ObjectType object) |
| Compiles a given GLSL code to SPIRV. More... | |
| std::string | ShaderManager::getShaderCode (VkShaderStageFlags stage, ObjectType object) |
| Returns the shader code as a string corresponding to the given stage and object type. More... | |
| static std::vector< char > | ShaderManager::readFile (ConstantFilepath filepath) |
| Reads a file and returns a vector of chars. More... | |
| static VkShaderModule | ShaderManager::createShaderModule (VkDevice logDevice, VkShaderStageFlagBits stage, ObjectType objectType) |
| Creates a shader module from a file. More... | |
Variables | |
| constexpr ConstantFilepath | ShaderManager::kGLSLTestVertexShaderPath = "shaders/testShader.vert" |
| constexpr ConstantFilepath | ShaderManager::kGLSLTestFragmentShaderPath = "shaders/testShader.frag" |
| constexpr ConstantFilepath | ShaderManager::kGLSLObjectVertexShaderPath = "shaders/objectShader.vert" |
| constexpr ConstantFilepath | ShaderManager::kGLSLObjectFragmentShaderPath = "shaders/objectShader.frag" |
| constexpr const char * | ShaderManager::kStandardEntryPoint = "main" |
| static std::vector< VkShaderModule > | ShaderManager::createdModules |
| typedef char const* const ConstantFilepath |