enum
EComputeCasterShaderCodeInputMode
Select what kind of shader source or binary data the compute caster expects as input.
Values
Key | Value | Comment |
---|---|---|
Source | 0 | Default mode, uses the source code snippets in the evaluation shader. Ignores any binary data in the evaluation shader. |
Binary | 1 | Binary 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. |
Key | Value | Comment |
---|---|---|
Source | 0 | Default mode, uses the source code snippets in the evaluation shader. Ignores any binary data in the evaluation shader. |
Binary | 1 | Binary 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. |
Key | Value | Comment |
---|---|---|
EComputeCasterShaderCodeInputMode_Source | 0 | Default mode, uses the source code snippets in the evaluation shader. Ignores any binary data in the evaluation shader. |
EComputeCasterShaderCodeInputMode_Binary | 1 | Binary 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. |