Void: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
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 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.
The void is not physical. It isn't a [[brush]] or [[entity]] but the lack of entities and brushes.{{clarify}}


{{ModernWarning|When viewing the void from inside the map, the [[w:backbuffer|backbuffer]] will not be cleared with black. This causes the [[w:Hall_of_mirrors_effect#.22Hall_of_mirrors.22_effect|HoM effect]] to appear. The pixels where nothing is drawn the next frame will contain what was drawn to them in the past.}}
{{ModernWarning|When viewing the void from inside the map, the [[w:backbuffer|backbuffer]] will not be cleared with black. This causes the [[w:Hall_of_mirrors_effect#.22Hall_of_mirrors.22_effect|HoM effect]] to appear. The pixels where nothing is drawn the next frame will contain what was drawn to them in the past.}}

Revision as of 01:46, 24 April 2023

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 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.[Clarify]

Template:ModernWarning

Template:ModernWarning

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.

Template:Image requested