DarkBASIC Professional Help File

DX11:CORE

Contains various core engine functionality such as that for initializing the engine, DX11 SYNC, timers and functions for getting various statistics.

    DX11 INIT : DX11 INIT width, height, fullscreen, caption, [featureLevel], [windowStyle]

    DX11 GET HARDWARE VERSION : Return Dword = DX11 GET HARDWARE VERSION()

    DX11 SYNC : DX11 SYNC [mask]

    DX11 QUIT : Return Boolean = DX11 QUIT()

    DX11 SET ESCAPEKEY : DX11 SET ESCAPEKEY flag

    DX11 SET SYNC MASK : DX11 SET SYNC MASK mask

    DX11 GET SCREEN FPS : Return Dword = DX11 GET SCREEN FPS()

    DX11 GET ENGINE TICK : Return Dword = DX11 GET ENGINE TICK()

    DX11 GET SYSTEM TICK : Return Dword = DX11 GET SYSTEM TICK()

    DX11 GET HIGH RESOLUTION TICK : Return Double integer = DX11 GET HIGH RESOLUTION TICK()

    DX11 GET HIGH RESOLUTION DELTA TIME : Return Double float = DX11 GET HIGH RESOLUTION DELTA TIME(startTime, stopTime)

    DX11 SET WORLD SECTORS : DX11 SET WORLD SECTORS across, down, through, width, height, depth

    DX11 GET WORLD SECTOR X : Return Integer = DX11 GET WORLD SECTOR X(x, y, z)

    DX11 GET WORLD SECTOR Y : Return Integer = DX11 GET WORLD SECTOR Y(x, y, z)

    DX11 GET WORLD SECTOR Z : Return Integer = DX11 GET WORLD SECTOR Z(x, y, z)

    DX11 SET BOOLEAN PARAMETER : DX11 SET BOOLEAN PARAMETER param, value

    DX11 SET INTEGER PARAMETER : DX11 SET INTEGER PARAMETER param, value

    DX11 SET FLOAT PARAMETER : DX11 SET FLOAT PARAMETER param, value

    DX11 GET DRAW CALL COUNT : Return Dword = DX11 GET DRAW CALL COUNT()

    DX11 GET DRAWN INSTANCE COUNT : Return Dword = DX11 GET DRAWN INSTANCE COUNT()

    DX11 DRAW 3DLINE : DX11 DRAW 3DLINE x1, y1, z1, x2, y2, z2, colour, [ignoreZDepth]

    DX11 REGISTER FILE PATH : DX11 REGISTER FILE PATH path

    DX11 UNREGISTER FILE PATH : DX11 UNREGISTER FILE PATH path

    DX11 RESET FILE PATHS : DX11 RESET FILE PATHS

    DX11 ABOUT : DX11 ABOUT

    DX11 ABOUT ASSIMP : DX11 ABOUT ASSIMP

    #ZPC : #ZPC directive