Rendererclass
Constructors1
Showing 1 constructors
protected Renderer()
No results match this filter.
Methods4
Showing 4 methods
protected void BackupRenderAttributes(Sandbox.RenderAttributes attributes)
Backup the specified RenderAttributes so we can restore them later with `Sandbox.Renderer.RestoreRenderAttributes(Sandbox.RenderAttributes)`
| Parameter | Type | Description |
|---|---|---|
| attributes | RenderAttributes | — |
void—public virtual void CopyFrom(Sandbox.Renderer other)
Copy everything from another renderer
| Parameter | Type | Description |
|---|---|---|
| other | Renderer | — |
void—protected virtual void OnRenderOptionsChanged()
void—protected void RestoreRenderAttributes(Sandbox.RenderAttributes attributes)
Restore any attributes that were previously backed up with `Sandbox.Renderer.BackupRenderAttributes(Sandbox.RenderAttributes)`
| Parameter | Type | Description |
|---|---|---|
| attributes | RenderAttributes | — |
void—No results match this filter.
Properties4
Showing 4 properties
public Sandbox.RenderAttributes Sandbox.Renderer.Attributes { get; set; }
Attributes that are applied to the renderer based on the current material and shader. If the renderer is disabled, the changes are deferred until it is enabled again. Attributes are not saved to disk, and are not cloned when copying the renderer.
public Sandbox.Rendering.CommandList Sandbox.Renderer.ExecuteAfter { get; set; }
A command list which is executed immediately after rendering this
public Sandbox.Rendering.CommandList Sandbox.Renderer.ExecuteBefore { get; set; }
A command list which is executed immediately before rendering this
public Sandbox.RenderOptions Sandbox.Renderer.RenderOptions { get; set; }
No results match this filter.