Presentation mode.
typedef enum PresMode

Rendered display buffer is shown immediately. Not synced to vertical blank. Visible tearing is possible.
PRES_MODE_IMMED,

Rendered display buffer is queued. Latest buffer can replace a waiting buffer. Synced to vertical blank. No tearing.
PRES_MODE_MAILBOX,

Rendered display buffer is queued. Synced to vertical blank. No tearing.
PRES_MODE_FIFO,

Rendered display buffer is queued. If the buffer is queued late, it will be shown without waitingfor next vertical blank, otherwise buffers are synced to vertical blank. No tearing, unless a latebuffer is inserted.
PRES_MODE_FIFO_RELAXED

End block 'Presentation mode'
} PresMode;

Window flags.
typedef enum WinFlags

Window is shown with no border or border controls.
WIN_FLAGS_BORDERLESS = 1

End block 'Window flags'
} WinFlags;

Trace flags.
typedef enum TraceFlags

Enable refraction.
TRACE_REFRACTION = 1,

Enable reflection.
TRACE_REFLECTION = 2

End block 'Trac flags'
} TraceFlags;

Probe mode.
typedef enum ProbeMode

No probe.
NONE,

FPS only.
FPS,

FPS and metrics.
METRICS

End block 'Probe mode'
} ProbeMode;

Set internal workset maximums.
API void EngineParmsSetWorksetMaxes(uint stageMB, uint maxBufs, uint maxImgs, uint maxUfms, uint maxAccels);
stageMB: Staging buffer in MB's. Default=4.
maxBufs: Maximum buffers in pool at one time. Default=8.
maxImgs: Maximum images in pool at one time. Default=8.
maxUfms: Maxumum uniform buffers in pool at one time. Default=8.
maxAccels: Maximum acceleration buffers in pool at one time. Default=8.

Set window parameters
API void EngineParmsSetWindow(wcstr title, float w, float h, uint monitor, uint flags);
title: Title. Default="Test"
w: Width of window as either fraction of desktop width (>0 .. <1), or as number of pixels (>= 1). If zero, width is determined by height parameter. Default=0.
h: Height of window as either fraction of desktop height (>0 .. <1), or as number of pixels (>= 1). If width is zero and height is non-zero, width will be set based on height and desktop aspect ratio. If both width and height are zero, app is started in full screen mode. Default=.5.
monitor: Monitor number to open window on. Default=0.
flags: Window flags. Default=0

Set presentation mode.
API void EngineParmsSetPresMode(PresMode presMode, uint minSwapChainSize);
presMode: Presentation mode. Default=Mailbox.
minSwapChainSize: Mininum swap chain size. Default=2.

Set app version.
API void EngineParmsSetAppVer(uint major, uint minor, uint patch);
major: Major version number. Default=0.
minor: Minor version number. Default=0.
patch: Patch number. Default=0.

Set GPU heap configuration.
API void EngineParmsSetGPUHeapConfig(uint gpuPageMB);
gpuPageMB: GPU page size in megabytes. GPU memory is allocated in pages of this size. Default=128.

Set showcase mode. Showcasing sets background to black while maintaining skybox reflections.
API void EngineParmsSetShowcase(bool enable);
enable: Enable showcase. Default=false.

Set normal map range. Normal mapping is disabled beyond this range.
API void EngineParmsSetNormMapRange(float range);
range: Distance in meters. Default=30.

Set half resolution mode. Half resolution mode uses half the display resolution for internal rendering then scales final result to full display resolution.
API void EngineParmsSetHalfRes(bool enable);
enable: True enable half resolution. Default=false.

Set ray tracing flags. Enables/Disables additional ray tracing features.Lights/shadows are always enabled.
API void EngineParmsSetTrace(uint trace);
trace: Trace flags.

Set antialiasing samples.
API void EngineParmsSetAntialias(uint samples);
samples: Antialising samples, 0-4. Default=0.

Set animated materials (reels) increment.
API void EngineParmsSetReelIncr(uint incr);
incr: Increment.

Set heap configuration.
API void EngineParmsSetHeap(uint heapPageMB);
heapPageMB: Page size in MB's. Default=2.

Set random seed.
API void EngineParmsSetRandomSeed(uint seed);
seed: Seed value. 0=Each run is a different random sequence. >0=Each run is the same random sequence based on the seed. Default=0.

Set probe mode.
API void EngineParmsSetProbeMode(ProbeMode probeMode);
probeMode: Probe mode.

Set exception handler.
API void EngineParmsSetExcHnd(FExceptionCB ExceptionHandler);
ExceptionHandler: Exception handler.