UgShader
SPIR-V shader module loading
destroy
Destroy a shader module
U0 destroy(UgContext.It& ctx, VkShaderModule shader);Parameters
ctx— Vulkan contextshader— Shader module to destroy
create
Load a SPIR-V shader module from a file path
VkShaderModule create(UgContext.It& ctx, const I8* filePath);Parameters
ctx— Vulkan contextfilePath— Path to the compiled SPIR-V binary
Returns — Loaded shader module handle