s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games

Gamejams

Date
Theme

Date announced very soon. Theme revealed when the jam starts.

$50,000
prizepool
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
docsDocumentation apiAPI Reference
Resources
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter