API Referenceglobal
Resultsclass
The results of a shader compile
object→Results
Constructors1
Showing 1 constructors
public Results()
No results match this filter.
Properties4
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.
Returns:
byte[]—public System.Collections.Generic.List`1<Sandbox.Engine.Shaders.ShaderCompile.Results.Program> Sandbox.Engine.Shaders.ShaderCompile.Results.Programs { get; set; }
public bool Sandbox.Engine.Shaders.ShaderCompile.Results.Skipped { get; set; }
If true then this compile was skipped because nothing changed
Returns:
bool—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.
Returns:
bool—No results match this filter.