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
Classes
BlitMode
chevron_left
Classes
struct
BlitMode
search
Fields
crop_din
Attributes
crop_din
Material
crop_din
Order
crop_din
RenderStage
crop_din
WantsBackbuffer
crop_din
WantsBackbufferMips
Static Methods
functions
Simple
functions
WithBackbuffer
BlitMode
struct
Sandbox.BasePostProcess
.
sealed
Sandbox.Engine
crop_din
Fields
6
Attributes
RenderAttributes
We'll use this instead of BasePostProcess.Attributes if set.
Material
Material
The material to use for the blit.
Order
int
The order within the stage. Lower numbers get rendered first.
RenderStage
Stage
Where to place this in the render pipeline
WantsBackbuffer
bool
If true, the backbuffer will be copied to a texture called "ColorBuffer" before the blit.
WantsBackbufferMips
bool
If both WantsBackbuffer and this is true the backbuffer will be mipped after being copied.
functions
Static Methods
2
Simple
(
m
,
stage
,
order
)
BlitMode
Shortcut to build a simple blit mode
WithBackbuffer
(
m
,
stage
,
order
,
mip
)
BlitMode
Shortcut to build a blit mode that copies the backbuffer first
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.