Skip to content

TotalVidMem64

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

TotalVidMem64

TotalVidMem64:UInt64

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

Description

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

Examples

Graphics 320, 240, 0, 2
Print "Video memory: " + (TotalVidMem64() / 1048576) + " MB"
WaitKey

Related Commands

AvailVidMem, AvailVidMem64, ShowPointer, TotalVidMem

Home · Command Index


Getting started

Language

Tools


Language Features
BlitzBasic
Blitz3D
BlitzPlus
Differences

Clone this wiki locally