Skip to content

VulkanShaderCompiler

final class VulkanShaderCompiler
Package: dev.joid.backend.vulkan.render.shader · Module: backend-vulkan · Source: VulkanShaderCompiler.java
Backends: Vulkan

Compiles a translated GLSL stage to SPIR-V with shaderc, at run time.

ReturnsSignatureSummary
ByteBuffercompile(String source, ShaderStage stage) staticReturns the SPIR-V code of the source, in a direct buffer, or null after printing the error of shaderc when the source does not compile.

ByteBuffer compile(String source, ShaderStage stage) static

Returns the SPIR-V code of the source, in a direct buffer, or null after printing the error of shaderc when the source does not compile.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page