Aller au contenu

GPUShaderModuleCompilationHint

A hint associating a shader entry point with the pipeline layout expected to use it.

Properties

entryPoint

abstract val entryPoint: String
Name of the shader entry point associated with this compilation hint.

layout

abstract 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.