Resultsclass

The results of a shader compile

objectResults
Namespace
global
Assembly
Sandbox.Engine
Declaration
public class Sandbox.Engine.Shaders.ShaderCompile.Results

Constructors1

Showing 1 constructors

public Results()PUBLICCONSTRUCTOR

Properties4

Showing 4 properties

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

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

Returns:byte[]

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

If true then this compile was skipped because nothing changed

Returns:bool

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

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

Returns:bool

On this page