Skip to content

AvailVidMem64

Narta Xaymar Dirks edited this page Nov 8, 2026 · 2 revisions

AvailVidMem64

AvailVidMem64:UInt64

Returns: The free video memory in bytes, or 0 when no graphics window is open.

Description

The amount of video memory that is free for this program, in bytes, as a UInt64, so a graphics card with more than 2 GB is not cut off. AvailVidMem gives the same number as an Int. This is a BlitzLLVM extension.

Differences

  • The number is the memory budget the graphics driver reports for this program, so it also counts what other programs use.

Examples

Graphics 320, 240, 0, 2
Print "Free video memory: " + (AvailVidMem64() / 1048576) + " MB"
WaitKey

Related Commands

AvailVidMem, CountDisplayModes 〔BlitzLLVM〕, TotalVidMem, TotalVidMem64

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

Clone this wiki locally