mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 12:42:34 +01:00
Clarified docs about requirement to use command line tool to compile shaders.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user