s&box docs

public class Sandbox.Engine.Shaders.ShaderCompile.Results

The results of a shader compile

Broader workflow and conceptual references connected to this API.

Constructors

Showing 1 constructors

public Results()

Properties

Showing 4 properties

public byte[] Sandbox.Engine.Shaders.ShaderCompile.Results.CompiledShader { get; set; }

If successful, this contains the actual resource-encoded bytes of the shader compile.

public bool Sandbox.Engine.Shaders.ShaderCompile.Results.Skipped { get; set; }

If true then this compile was skipped because nothing changed

public bool Sandbox.Engine.Shaders.ShaderCompile.Results.Success { get; set; }

True if the shader was compiled successfully. False indicates an error occurred. You can dig deeper into why in Programs.

Metadata

FieldValue
Namespaceglobal
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Engine.Shaders.ShaderCompile.Results

On this page