ShaderModuleCompilationHint¶
data class ShaderModuleCompilationHint(val entryPoint: String, val layout: GPUPipelineLayout? = null) : GPUShaderModuleCompilationHint
Constructors¶
ShaderModuleCompilationHint¶
constructor(entryPoint: String, layout: GPUPipelineLayout? = null)
Properties¶
entryPoint¶
open override val entryPoint: String
Name of the shader entry point associated with this compilation hint.
layout¶
open override val layout: GPUPipelineLayout?
A GPUPipelineLayout that the GPUShaderModule may be used with in a future createComputePipeline() or createRenderPipeline() call. If set to "auto" the layout will be the default pipeline layout for the entry point associated with this hint will be used.