Method InitializeComputeShader
InitializeComputeShader(string, string)
Load and find the kernel in a compute buffer.
Declaration
protected void InitializeComputeShader(string kernelName = "CastRaysToCameraTexture", string computeShaderName = "PhotosensorCameraBased")
Parameters
Type | Name | Description |
---|---|---|
string | kernelName | Kernel name to find. |
string | computeShaderName | Compute shader to load. |