"No one can be told what GeeXLab is, you have to see it for yourself!"

"Stop Playing Games and Start Making Them! With GeeXLab, your are on your way!"


Quick Links
What is GeeXLab
Download GeeXLab
GeeXLab Requirements
Online Help
Articles and Tutorials
Samples Screenshots
Videos

GeeXLab Changelog

XML Ref. Guide
Scripting Ref. Guide
Code Samples

Purchase GeeXLab
GeeXLab SDK

Shader Library

Follow GeeXLab's News
GeeXLab news, articles, tutorials and demos @ Geeks3D.com
GeeXLab @ Twitter GeeXLab RSS Feed

Subscribe to GeeXLab news by email

[ Back to Geeks3D.com ]

GeeXLab

GeeXLab

Laboratory for Real Time 3D Programming (prototyping and demos)
OpenGL, Lua, Python, GLSL,
PhysX and more...

Reference Guide
Host-API Lua / Python



Back to Homepage
Back to Developer's Guide Index

HYP_ZoomGPU Library


Description
ZoomGPU library

Number of functions: 11

HYP_ZoomGPU.GetOpenGLModel

Description
Returns the OpenGL model string.

Languages: Lua - Python

Return Values
  • model [STRING]: Graphics card model

    Code sample :

    card = HYP_ZoomGPU.GetOpenGLModel()


    HYP_ZoomGPU.GetOpenGLVendor

    Description
    Returns the OpenGL vendor string.

    Languages: Lua - Python

    Return Values
  • vendor [STRING]: Graphics card vendor

    Code sample :

    vendor = HYP_ZoomGPU.GetOpenGLVendor()


    HYP_ZoomGPU.GetOpenGLVersion

    Description
    Returns the OpenGL version.

    Languages: Lua - Python

    Return Values
  • major, minor [INTEGER]: OpenGL version

    Code sample :

    major, minor = HYP_ZoomGPU.GetOpenGLVersion()


    HYP_ZoomGPU.GetOpenGLNumExtensions

    Description
    Returns the number of OpenGL extensions.

    Languages: Lua - Python

    Return Values
  • n [INTEGER]: number of GL extensions

    Code sample :

    n = HYP_ZoomGPU.GetOpenGLNumExtensions()


    HYP_ZoomGPU.GetOpenGLExtensionName

    Description
    Returns the name of an OpenGL extension for the specified index.

    Languages: Lua - Python

    Parameters
  • index [INTEGER]: index of the OpenGL extension: [0; HYP_ZoomGPU.GetOpenGLNumExtensions()-1].

    Return Values
  • name [INTEGER]: name of the GL extension

    Code sample :

    name = HYP_ZoomGPU.GetOpenGLExtensionName(index)


    HYP_ZoomGPU.CheckOpenGLExtension

    Description
    Checks if a particular OpenGL extension is supported.

    Languages: Lua - Python

    Parameters
  • name [STRING]: name of the extension

    Return Values
  • is_supported [INTEGER]: 1 if supported else 0

    Code sample :

    is_supported = HYP_ZoomGPU.CheckOpenGLExtension("GL_ARB_gpu_shader_fp64")


    HYP_ZoomGPU.GetNumPhysicalGPUs

    Description
    Returns the number of physical GPUs.

    Languages: Lua - Python

    Return Values
  • n [INTEGER]: number of GPUs

    Code sample :

    n = HYP_ZoomGPU.GetNumPhysicalGPUs()


    HYP_ZoomGPU.GetGPUName

    Description
    Returns the number of physical GPUs.

    Languages: Lua - Python

    Parameters
  • index [INTEGER]: index of the GPU: [0 ; HYP_ZoomGPU.GetNumPhysicalGPUs()-1]

    Return Values
  • name [STRING]: number of GPUs

    Code sample :

    name = HYP_ZoomGPU.GetGPUName(index)


    HYP_ZoomGPU.GetPciDeviceID

    Description
    Returns the device and vendor id.

    Languages: Lua - Python

    Parameters
  • index [INTEGER]: index of the GPU: [0 ; HYP_ZoomGPU.GetNumPhysicalGPUs()-1]

    Return Values
  • device_id, vendor_id [INTEGER]: device and vendor id

    Code sample :

    device_id, vendor_id = HYP_ZoomGPU.GetPciDeviceID(index)


    HYP_ZoomGPU.GetDriverVersion

    Description
    Returns the driver version string.

    Languages: Lua - Python

    Parameters
  • index [INTEGER]: index of the GPU: [0 ; HYP_ZoomGPU.GetNumPhysicalGPUs()-1]

    Return Values
  • driver [STRING]: driver version

    Code sample :

    driver = HYP_ZoomGPU.GetDriverVersion(index)


    HYP_ZoomGPU.ReadTemperatures

    Description
    Returns the GPU and PCB (if supported) temperatures.

    Languages: Lua - Python

    Parameters
  • index [INTEGER]: index of the GPU: [0 ; HYP_ZoomGPU.GetNumPhysicalGPUs()-1]

    Return Values
  • gpu, pcb [REAL]: GPU and PCB temperatures in degrees celcius.

    Code sample :

    gpu, pcb = HYP_ZoomGPU.ReadTemperatures(index)




  • Random Projects

    Depth Buffer Visualization
    Depth Buffer Visualization

    Lens Circle Effect
    Lens Circle Effect

    Gaussian Blur PostFX
    Gaussian Blur PostFX


    Random Code Samples

    DirectX Format Loading
    DirectX Format Loading

    Built-in Meshes
    Built-in Meshes

    Python - Hello World
    Python - Hello World



    (C)2009-2010 Geeks3D.com