b3dCameraClsColor

Sets camera clear color (background color, 0-255 RGB). Takes camera (camera entity handle), r/g/b (red/green/blue 0-255). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

camera Int
r Int
g Int
b Int

Returns

Void

Quick Summary

Sets camera clear color (background color, 0-255 RGB). Takes camera (camera entity handle), r/g/b (red/green/blue 0-255). Returns nothing.

Technical Exegesis...

Sets camera clear color (background color, 0-255 RGB). Takes camera (camera entity handle), r/g/b (red/green/blue 0-255). Returns nothing. Validates entity is camera type, allocates camera->Camera3D if null, sets camera->clearColor=(r/255, g/255, b/255). Controls background color when framebuffer cleared.

This function sets clear color. Clear color: color used to clear framebuffer before rendering (background color, visible where no geometry rendered), RGB values 0-255 converted to 0.0-1.

Example

Example.bam
; No example implemented yet