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
Graphics
AttributeAccess
chevron_left
Graphics
class
AttributeAccess
search
Methods
functions
Clear
functions
GetRenderTarget
functions
GrabDepthTexture
functions
GrabFrameTexture
functions
Set
functions
SetCombo
functions
SetData
functions
SetValue
AttributeAccess
class
Sandbox.Rendering.CommandList
.
Sandbox.Engine
functions
Methods
8
Clear
(
)
GetRenderTarget
(
name
)
RenderTarget
Get the actual render target by name. Useful for externals that need to access the render target directly.
GrabDepthTexture
(
token
)
RenderTargetHandle
Takes a copy of the current viewport's depth texture and stores it in targetName on renderAttributes.
GrabFrameTexture
(
token
,
withMips
)
RenderTargetHandle
Takes a copy of the current viewport's color texture and stores it in targetName on renderAttributes.
Set
(
token
,
f
)
SetCombo
(
token
,
value
)
SetData
(
token
,
data
)
SetValue
(
token
,
value
)
Set a special value
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.