Skip to content

Latest commit

 

History

History
52 lines (30 loc) · 1.53 KB

GFXCardProfilerAPI.rst

File metadata and controls

52 lines (30 loc) · 1.53 KB

GFXCardProfilerAPI

This class is the interface between TorqueScript and GFXCardProfiler.

Description

You will not actually declare GFXCardProfilerAPI in TorqueScript. It exists solely to give access to the GFXCardProfiler's querying functions, such as GFXCardProfiler::getRenderer.

Example:

// Example of accessing GFXCardProfiler function from script
// Notice you are not using the API version
%videoMem = GFXCardProfiler::getVideoMemoryMB();

Methods