s&
infoAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games exploreDiscover Games
categoryWorkshop
sports_esportsGames landscapeMaps view_in_arModels textureMaterials apparelClothing constructionMore..
forumForum menu_bookLearn
docsDocumentation apiApi Reference schoolTutorials manage_searchCode Search
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
BlitMode
chevron_left Classes
struct
BlitMode

Fields

crop_dinAttributescrop_dinMaterialcrop_dinOrdercrop_dinRenderStagecrop_dinWantsBackbuffercrop_dinWantsBackbufferMips

Static Methods

functionsSimplefunctionsWithBackbuffer
BlitMode
struct Sandbox.BasePostProcess .
sealedSandbox.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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter