Table of Contents

Struct EffectBytecodeCompilerResult

Namespace
Stride.Shaders.Compiler
Assembly
Stride.Shaders.dll

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

compilationLog LoggerResult

The 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

bytecode EffectBytecode

The Effect bytecode. Specify null if no bytecode has been generated.

compilationLog LoggerResult

The 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

bytecode EffectBytecode

The Effect bytecode. Specify null if no bytecode has been generated.

loadSource EffectBytecodeCacheLoadSource

A 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

EffectBytecode

CompilationLog

The compilation log.

public readonly LoggerResult CompilationLog

Field Value

LoggerResult

LoadSource

A value indicating how the Effect / Shader was loaded.

public readonly EffectBytecodeCacheLoadSource LoadSource

Field Value

EffectBytecodeCacheLoadSource