Skip to content
On this page

enum EComputeCasterShaderCodeInputMode

Select what kind of shader source or binary data the compute caster expects as input.

Values

KeyValueComment
Source0Default mode, uses the source code snippets in the evaluation shader. Ignores any binary data in the evaluation shader.
Binary1Binary mode, expects a compiled binary shader in the evaluation shader. Binding and source digests can optionally be provided in the evaluation shader. If a binding digest is included, it will be compared to the expected bindings of the shader setup. If a source digests is included, the source code snippets must also be included, since the compute caster will create the full source code to generate an expected digest to compare to the provided digest. The code is never compiled, only optionally generated for safety checks.