public class Sandbox.Engine.Shaders.ShaderCompile.Results
The results of a shader compile
Related Guides
Broader workflow and conceptual references connected to this API.
Leaderboards are just stats, aggregated and ordered.
You can create different types of shaders in s&box through code or the ShaderGraph.
These quality guidelines will help you through the process of creating clothing that stands a better chance of being accepted for sale on the s&box store.
Whenever you save a code file in your project (.cs or .razor files), we recompile and attempt to live-reload the changed assembly. This lets you quickly iterate and see your changes without needing to restart the editor. Ideally we want to support this for 99% of code changes without you needing to think about what happens under the hood, but this document will help you investigate cases where things go wrong.
Dependant on how complex / simple your model is, morphing to the human mesh can be very straightforward.
The API for leaderboards is publically accessible. Have fun!
Constructors
Showing 1 constructors
public Results()
No results match this filter.
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 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
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.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Engine.Shaders.ShaderCompile.Results |