public class Sandbox.Engine.Shaders.ShaderCompile.Results.Program
The results of an individual shader program compile (PS, VS etc)
Related Guides
Broader workflow and conceptual references connected to this API.
If you're just opting for default Vertex and Pixel inputs which are usable on the default shading model, these are the reference member variables for each:
The FilmGrain component adds simulated film-style grain to the camera output. It's purely visual โ it does not affect gameplay or lighting โ and is intended to add texture, grit or stylistic noise to the final image.
This section needs to be rewritten with an explanation of all the code, libraries, etc.
The "Model Editor", also known as "ModelDoc", is where you can create and edit model (VMDL) files. This is the modern equivalent of Source 1's .QC files. You can find it under the "Tools" menu.
Constructors
Showing 1 constructors
public Program()
No results match this filter.
Properties
Showing 5 properties
public int Sandbox.Engine.Shaders.ShaderCompile.Results.Program.ComboCount { get; set; }
How many combos had to be compiled for this program. This is Static * Dynamic.
public string Sandbox.Engine.Shaders.ShaderCompile.Results.Program.Name { get; set; }
The identifier for this program
public System.Collections.Generic.List`1<string> Sandbox.Engine.Shaders.ShaderCompile.Results.Program.Output { get; set; }
Shader compile output, warnings and errors
public string Sandbox.Engine.Shaders.ShaderCompile.Results.Program.Source { get; set; }
The full pre-processed source for this shader
public bool Sandbox.Engine.Shaders.ShaderCompile.Results.Program.Success { get; set; }
True if this was compiled successfully
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | global |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Engine.Shaders.ShaderCompile.Results.Program |