global Platform

Platform specific information

[source]


fields


Platform.gpu


Platform.gpu : string

Full GPU device name

Platform.gpuVendor


Platform.gpuVendor : ("Nvidia"|"Intel"|"ATI"|"Mesa"|"Unknown")

Platform.glVersionShort


Platform.glVersionShort : string

major.minor.buildNumber

Platform.glslVersionShort


Platform.glslVersionShort : string

major.minor

Platform.glVersion


Platform.glVersion : string

Full version

Platform.glVendor


Platform.glVendor : string

Platform.glRenderer


Platform.glRenderer : string

Platform.glslVersion


Platform.glslVersion : string

Full version

Platform.gladVersion


Platform.gladVersion : string

Platform.osName


Platform.osName : string

full name of the OS

Platform.osFamily


Platform.osFamily : ("Windows"|"Linux"|"MacOSX"|"FreeBSD"|"Unknown")

Platform.numDisplays


Platform.numDisplays : number

Platform.gpuMemorySize


Platform.gpuMemorySize : number

Size of total GPU memory in MBs; only available for “Nvidia”, (rest are 0)

Platform.sdlVersionCompiledMajor


Platform.sdlVersionCompiledMajor : number

Platform.sdlVersionCompiledMinor


Platform.sdlVersionCompiledMinor : number

Platform.sdlVersionCompiledPatch


Platform.sdlVersionCompiledPatch : number

Platform.sdlVersionLinkedMajor


Platform.sdlVersionLinkedMajor : number

Platform.sdlVersionLinkedMinor


Platform.sdlVersionLinkedMinor : number

Platform.sdlVersionLinkedPatch


Platform.sdlVersionLinkedPatch : number

Platform.totalRAM


Platform.totalRAM : number

Total physical system RAM in MBs.

Platform.glSupportNonPowerOfTwoTex


Platform.glSupportNonPowerOfTwoTex : boolean

Platform.glSupportTextureQueryLOD


Platform.glSupportTextureQueryLOD : boolean

Platform.glSupport24bitDepthBuffer


Platform.glSupport24bitDepthBuffer : boolean

Platform.glSupportRestartPrimitive


Platform.glSupportRestartPrimitive : boolean

Platform.glSupportClipSpaceControl


Platform.glSupportClipSpaceControl : boolean

Platform.glSupportFragDepthLayout


Platform.glSupportFragDepthLayout : boolean