|
Chronos 0.0
A advanced 2D rendering and animation system
|

Go to the source code of this file.
Functions | |
| static VkShaderModule | createShaderModule (unsigned char *code, int code_size, VkDevice device) |
| Creates a shader module from given shader(SPIV) code. | |
|
inlinestatic |
Creates a shader module from given shader(SPIV) code.
In order to get std::vector<char>& code from a shader file, use readFile function.
| code | The SPIV code to create the shader module from. |
| device | The device to create the shader module on. |
Definition at line 38 of file object.cpp.
