Void: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{lang|Void}}[[Category:Glossary]]
{{LanguageBar|Void}}[[Category:Glossary]]
:''In [[:Category:Programming|programming]], <code>void</code> is used when declaring a function that does not return a value. <code>void*</code> is a pointer to such a function.''
:''In [[:Category:Programming|programming]], <code>void</code> is used when declaring a function that does not return a value. <code>void*</code> is a pointer to such a function.''
 
[[File:Void hammer.png|thumb|The void in hammer]][[File:Void construct.jpeg|thumb|The void ingame, viewed from outside the map in noclip]]
'''The void''' is the black space outside [[the world]]. It is an infinitely large area of nothingness that surrounds every map.
'''The void''' is the black space outside [[the world]]. It is an infinitely large area of nothingness that surrounds every map.


Line 12: Line 12:
{{warning|[[w:Video post-processing|Post processing effects]] like filmgrain, HDR (bloom) and motionblur will indefinitely add their output to the backbuffer, which can result in a solid color or random patterns where the backbuffer is not refreshed properly.}}
{{warning|[[w:Video post-processing|Post processing effects]] like filmgrain, HDR (bloom) and motionblur will indefinitely add their output to the backbuffer, which can result in a solid color or random patterns where the backbuffer is not refreshed properly.}}


By default, a [[clear]] only happens when the [[vieworigin]] is assumed to be in a "solid;" the void is marked as such.
By default, a clear only happens when the [[vieworigin]] is assumed to be in a "solid;" the void is marked as such.
{{stub|article=1}}
{{stub|article=1}}
{{Image requested}}

Latest revision as of 17:42, 18 July 2025

English (en)Translate (Translate)
In programming, void is used when declaring a function that does not return a value. void* is a pointer to such a function.
The void in hammer
The void ingame, viewed from outside the map in noclip

The void is the black space outside the world. It is an infinitely large area of nothingness that surrounds every map.

The map can occasionally share its inside space with the void causing an error known as a leak. Loading the map's compiled pointfile plots a course between this void and the closest entity in the map which can help patch leaks.

The void is not physical. It isn't a brush or entity but the lack of entities and brushes. It is, quite literally, void of any solid objects. If you noclip outside of the level bounds, you will fall forever.

Warning.pngWarning:When viewing the void from inside the map, the backbuffer will not be cleared with black. This causes the HoM effect to appear. The pixels where nothing is drawn the next frame will contain what was drawn to them in the past.
Warning.pngWarning:Post processing effects like filmgrain, HDR (bloom) and motionblur will indefinitely add their output to the backbuffer, which can result in a solid color or random patterns where the backbuffer is not refreshed properly.

By default, a clear only happens when the vieworigin is assumed to be in a "solid;" the void is marked as such.

Stub

This article or section is a stub. You can help by expanding it.