EffectBytecodeCompilerResult Struct
Namespace: Stride.Shaders.CompilerAssembly: Stride.Shaders.dll
Result of an effect bytecode compilation.
public struct EffectBytecodeCompilerResult
| Name | Description | |
|---|---|---|
| Constructors | ||
| EffectBytecodeCompilerResult(EffectBytecode, LoggerResult) | ||
| EffectBytecodeCompilerResult(EffectBytecode, EffectBytecodeCacheLoadSource) | ||
| Fields | ||
| Bytecode | The effect bytecode. Might be null. |
|
| CompilationLog | The compilation log. |
|
| LoadSource | Gets or sets a value that specifies how the shader was loaded. |
|
Constructors
EffectBytecodeCompilerResult(EffectBytecode, LoggerResult)
public EffectBytecodeCompilerResult(EffectBytecode bytecode, LoggerResult compilationLog)
Parameters
| Type | Name | Description |
|---|---|---|
| EffectBytecode | bytecode | |
| LoggerResult | compilationLog |
EffectBytecodeCompilerResult(EffectBytecode, EffectBytecodeCacheLoadSource)
public EffectBytecodeCompilerResult(EffectBytecode bytecode, EffectBytecodeCacheLoadSource loadSource)
Parameters
| Type | Name | Description |
|---|---|---|
| EffectBytecode | bytecode | |
| EffectBytecodeCacheLoadSource | loadSource |
Fields
Bytecode
The effect bytecode. Might be null.
public readonly EffectBytecode Bytecode
Field Value
| Type | Description |
|---|---|
| EffectBytecode |
CompilationLog
The compilation log.
public readonly LoggerResult CompilationLog
Field Value
| Type | Description |
|---|---|
| LoggerResult |
LoadSource
Gets or sets a value that specifies how the shader was loaded.
public readonly EffectBytecodeCacheLoadSource LoadSource
Field Value
| Type | Description |
|---|---|
| EffectBytecodeCacheLoadSource |
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()