s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Components
Renderer
chevron_left
Components
class
Renderer
Constructors
lock
Renderer
Properties
data_object
Attributes
data_object
ExecuteAfter
data_object
ExecuteBefore
data_object
RenderOptions
Methods
lock
BackupRenderAttributes
functions
CopyFrom
lock
OnRenderOptionsChanged
lock
RestoreRenderAttributes
Renderer
class
Sandbox
.
account_tree
extends
Component
abstract
Sandbox.Engine
build
Constructors
1
Renderer
(
)
data_object
Properties
4
Attributes
RenderAttributes
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.
ExecuteAfter
CommandList
A command list which is executed immediately after rendering this
ExecuteBefore
CommandList
A command list which is executed immediately before rendering this
RenderOptions
RenderOptions
functions
Methods
4
BackupRenderAttributes
(
attributes
)
Backup the specified RenderAttributes so we can restore them later with Sandbox.Renderer.RestoreRenderAttributes(Sandbox.RenderAttributes)
CopyFrom
(
other
)
Copy everything from another renderer
OnRenderOptionsChanged
(
)
RestoreRenderAttributes
(
attributes
)
Restore any attributes that were previously backed up with Sandbox.Renderer.BackupRenderAttributes(Sandbox.RenderAttributes)
Inheritance
Component
Renderer
DecalRenderer
LineRenderer
ModelRenderer
SkinnedModelRenderer
ParticleRenderer
ParticleSpriteRenderer
ParticleTextRenderer
SpriteRenderer
TextRenderer
TrailRenderer
WorldPanel
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.