Struct EffectBytecodeCompilerResult
Result of an Effect bytecode compilation.
public readonly struct EffectBytecodeCompilerResult
- Inherited Members
- Extension Methods
Constructors
EffectBytecodeCompilerResult(LoggerResult)
Initializes a new instance of the EffectBytecodeCompilerResult structure.
public EffectBytecodeCompilerResult(LoggerResult compilationLog)
Parameters
compilationLogLoggerResultThe log containing information about the compilation, warnings, errors, etc.
EffectBytecodeCompilerResult(EffectBytecode, LoggerResult)
Initializes a new instance of the EffectBytecodeCompilerResult structure.
public EffectBytecodeCompilerResult(EffectBytecode bytecode, LoggerResult compilationLog)
Parameters
bytecodeEffectBytecodeThe Effect bytecode. Specify null if no bytecode has been generated.
compilationLogLoggerResultThe log containing information about the compilation, warnings, errors, etc.
EffectBytecodeCompilerResult(EffectBytecode, EffectBytecodeCacheLoadSource)
Initializes a new instance of the EffectBytecodeCompilerResult structure.
public EffectBytecodeCompilerResult(EffectBytecode bytecode, EffectBytecodeCacheLoadSource loadSource)
Parameters
bytecodeEffectBytecodeThe Effect bytecode. Specify null if no bytecode has been generated.
loadSourceEffectBytecodeCacheLoadSourceA value indicating how the Effect / Shader was loaded.
Fields
Bytecode
The Effect bytecode. Can be null if no bytecode has been generated.
public readonly EffectBytecode? Bytecode
Field Value
CompilationLog
The compilation log.
public readonly LoggerResult CompilationLog
Field Value
LoadSource
A value indicating how the Effect / Shader was loaded.
public readonly EffectBytecodeCacheLoadSource LoadSource