Table of Contents

Method SetKeyword

Namespace
Pinwheel.Beam
Assembly
Pinwheel.Beam.Runtime.dll

SetKeyword(ComputeShader, string, bool)

Turn a compute shader's keyword on/off.

public static void SetKeyword(this ComputeShader shader, string kw, bool enable)

Parameters

shader ComputeShader

The compute shader

kw string

The keyword

enable bool

Keyword state