b3dCameraClsMode

Sets camera clear mode flags (color buffer, depth buffer, 1=clear 0=skip). Takes camera (camera entity handle), color (1=clear color buffer, 0=skip), depth (1=clear depth buffer, 0=skip). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

camera Int
color Int
depth Int

Returns

Void

Quick Summary

Sets camera clear mode flags (color buffer, depth buffer, 1=clear 0=skip). Takes camera (camera entity handle), color (1=clear color buffer, 0=skip), depth (1=clear depth buffer, 0=skip). Returns nothing.

Technical Exegesis...

Sets camera clear mode flags (color buffer, depth buffer, 1=clear 0=skip). Takes camera (camera entity handle), color (1=clear color buffer, 0=skip), depth (1=clear depth buffer, 0=skip). Returns nothing. Validates entity is camera type, allocates camera->Camera3D if null, sets camera->clsColor=(color!=0) and camera->clsDepth=(depth!=0). Controls which buffers cleared before rendering.

This function controls buffer clearing.

Example

Example.bam
; No example implemented yet