Struct CompilerResult
- Namespace
- Pie.ShaderCompiler
- Assembly
- Pie.ShaderCompiler.dll
The result of a shader compilation.
public struct CompilerResult
- Inherited Members
Constructors
CompilerResult(byte[], bool, string)
Create a new CompilerResult.
public CompilerResult(byte[] result, bool isSuccess, string error)
Parameters
result
byte[]The result, if any. This should be null if
isSuccess
is false.isSuccess
boolWhether or not the result was a success.
error
stringAn error string, if any. This should be null or empty if
isSuccess
is true.
Fields
Error
An error string, if any.
public readonly string Error
Field Value
- string
- The result of a shader compilation.
Remarks
IsSuccess
Whether or not the result was a success.
public readonly bool IsSuccess
Field Value
- bool
- The result of a shader compilation.
Result
The result, if any.
public readonly byte[] Result
Field Value
- byte[]
- The result of a shader compilation.