Select your preferred scripting language. All code snippets will be displayed in this language.
History
Find ComputeShader kernel index.
A single compute shader can contain many "kernels" (functions that do the computation); FindKernel returns kernel index given the name. If name is not found, -1 is returned.