Liking cljdoc? Tell your friends :D

warpaint.compiler

GLSL → SPIR-V compilation and SPIR-V loading.

Uses lwjgl-shaderc for in-process compilation — no glslc subprocess required. Falls back to the glslc subprocess when shaderc natives are unavailable.

GLSL → SPIR-V compilation and SPIR-V loading.

Uses lwjgl-shaderc for in-process compilation — no glslc subprocess required.
Falls back to the glslc subprocess when shaderc natives are unavailable.
raw docstring

compile-glslclj

(compile-glsl source-path)

Compile a GLSL source file to SPIR-V. Tries in-process shaderc first; falls back to the glslc subprocess. Returns true on success, throws RuntimeException on failure. Output .spv is written alongside the source file.

Compile a GLSL source file to SPIR-V.
Tries in-process shaderc first; falls back to the glslc subprocess.
Returns true on success, throws RuntimeException on failure.
Output .spv is written alongside the source file.
sourceraw docstring

load-spirvclj

(load-spirv spv-path)

Load a compiled SPIR-V (.spv) file. Returns a java.nio.ByteBuffer (little-endian, direct) suitable for VkShaderModuleCreateInfo, or nil on failure.

Load a compiled SPIR-V (.spv) file.
Returns a java.nio.ByteBuffer (little-endian, direct) suitable for
VkShaderModuleCreateInfo, or nil on failure.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close