Skip to content

GfxModeDepth

Narta Xaymar Dirks edited this page Oct 28, 2026 · 8 revisions

Blitz3DBlitzPlusBlitzBasic

GfxModeDepth

GfxModeDepth:Int32 mode:Int32
Parameter Mode Type Default Description
mode In Int32 required The mode number, from 1 to CountGfxModes.

Returns: The depth in bits, always 32.

Description

The color depth in bits of a display mode.

Differences

  • A mode number that does not exist stops the program with an error message.
  • Palette and 16 bit modes are not supported, so every mode is listed with 32 bits however the display could show it.

Related Commands

DisplayDepth 〔BlitzLLVM〕, DisplayModeDepth 〔BlitzLLVM〕, GfxDriver 〔BlitzLLVM〕, GfxDriverName, GfxModeExists, GfxModeFormat, GfxModeHeight, GfxModeWidth

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally