Skip to content

GfxModeFormat

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

GfxModeFormat

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

Returns: The format number.

Description

How the pixels of a display mode are stored, as a number that BlitzPlus uses with its pixel commands: 1 is 16 bit 5-6-5, 2 is 16 bit 5-5-5, 3 is 24 bit and 4 is 32 bit.

Differences

  • Always 4, as the window is always 32 bit.

Related Commands

CountGfxDrivers, GfxDriver 〔BlitzLLVM〕, GfxDriverName, GfxModeDepth, GfxModeExists, GfxModeHeight, GfxModeWidth, GraphicsFormat

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally