Home  Contents

gfx.open

Graphics Core4 Lua Commands

SYNOPSIS

gcx = gfx.open()

DESCRIPTION

Opens a context for accessing the hardware framebuffer.

RETURN VALUE

A graphics context handle.

ERRORS

If no hardware framebuffer exists, this function returns nil.

EXAMPLE

gcx = gfx.open()

SEE ALSO