Clarified docs about requirement to use command line tool to compile shaders.

This commit is contained in:
Бранимир Караџић
2023-11-22 23:14:09 -08:00
parent bd0cd504f6
commit 1a329595aa
8 changed files with 34 additions and 13 deletions

View File

@@ -1563,6 +1563,10 @@ func.destroy { cname = "destroy_indirect_buffer" }
.handle "IndirectBufferHandle" --- Indirect buffer handle.
--- Create shader from memory buffer.
---
--- @remarks
--- Shader binary is obtained by compiling shader offline with shaderc command line tool.
---
func.createShader
"ShaderHandle" --- Shader handle.
.mem "const Memory*" --- Shader binary.