Difference between revisions of "DEPTHBUFFER"

From QB64 Wiki
Jump to navigation Jump to search
imported>Clippy
m (Created page with ' {{PageSyntax}} ::: '''_DEPTHBUFFER''' {ON|OFF|LOCK|_CLEAR}[,handle] ''See also:'' * _MAPTRIANGLE * _PUTIMAGE * _DISPLAY {{PageNavigation}}')
 
imported>Clippy
m
Line 1: Line 1:
 
{{DISPLAYTITLE:_DEPTHBUFFER}}
The '''_DEPTHBUFFER''' statement turns depth buffering ON or OFF, LOCKs or _CLEARS buffering




Line 5: Line 6:
{{PageSyntax}}
{{PageSyntax}}
::: '''_DEPTHBUFFER''' {ON|OFF|LOCK|_CLEAR}[,handle]
::: '''_DEPTHBUFFER''' {ON|OFF|LOCK|_CLEAR}[,handle]
''Photo:''
Here's another screenshot which shows rending to 2d images then rendering to the screen. The difference is that QB64 is adding a hardware depth-buffer to the destination images on demand when and if it requires one. Note which image is not using a depth-buffer. In QB64 a depth-buffer is implied unless you specifically state not to use one.
http://i301.photobucket.com/albums/nn53/burger2227/YUNEEEDaDEPTHBUFFER.png





Revision as of 16:45, 8 August 2014

The _DEPTHBUFFER statement turns depth buffering ON or OFF, LOCKs or _CLEARS buffering


Syntax

_DEPTHBUFFER {ON|OFF|LOCK|_CLEAR}[,handle]



Photo: Here's another screenshot which shows rending to 2d images then rendering to the screen. The difference is that QB64 is adding a hardware depth-buffer to the destination images on demand when and if it requires one. Note which image is not using a depth-buffer. In QB64 a depth-buffer is implied unless you specifically state not to use one. http://i301.photobucket.com/albums/nn53/burger2227/YUNEEEDaDEPTHBUFFER.png


See also:



Navigation:
Keyword Reference - Alphabetical
Keyword Reference - By Usage
Main Wiki Page