This is the documentation for Enlighten.
| Name | Description |
|---|---|
| Geo::GeoFpControl | Sets the state of the floating point control word, and restores the original value when the object is destroyed. |
| Name | Description |
|---|---|
| eCpuVendor | PC CPU vendors. |
| Name | Description |
|---|---|
| const Geo::u32 GEO_CPU_FEATURE_AVX = 0x00000100 | This cpu supports AVX. |
| const Geo::u32 GEO_CPU_FEATURE_F16C = 0x00000200 | This cpu supports F16C. |
| const Geo::u32 GEO_CPU_FEATURE_FMA3 = 0x00000400 | This cpu supports FMA3. |
| const Geo::u32 GEO_CPU_FEATURE_FMA4 = 0x00000080 | This cpu supports FMA4. |
| const Geo::u32 GEO_CPU_FEATURE_MMX = 0x00000001 | This cpu supports mmx technology. |
| const Geo::u32 GEO_CPU_FEATURE_SSE = 0x00000002 | This cpu supports version 1 of SSE. |
| const Geo::u32 GEO_CPU_FEATURE_SSE2 = 0x00000004 | This cpu supports version 2 of SSE. |
| const Geo::u32 GEO_CPU_FEATURE_SSE3 = 0x00000008 | This cpu supports version 3 of SSE. |
| const Geo::u32 GEO_CPU_FEATURE_SSE41 = 0x00000020 | This cpu supports version 4.1 of SSE. |
| const Geo::u32 GEO_CPU_FEATURE_SSE42 = 0x00000040 | This cpu supports version 4.2 of SSE. |
| const Geo::u32 GEO_CPU_FEATURE_SSSE3 = 0x00000010 | This cpu supports the Supplemental Streaming SIMD Extensions 3 (SSSE3). |
| Name | Description |
|---|---|
| ~GeoFpControl() | Destructor. |
| GeoFpControl(bool, bool) | Constructor. |
| GetCpuFeatures() | Retrieve the processors features as a set of flags. |
| GetCpuVendor() | Get the PC CPU vendor. |
| GetCpuVendorAsString() | Get the PC CPU vendor as a string. |
| GetLogicalCpuCoreCount() | Get the number of logical cores. |
public: enum eCpuVendor
{
CPU_VENDOR_UNKNOWN = 0,
CPU_VENDOR_INTEL,
CPU_VENDOR_AMD
}
PC CPU vendors.
| CPU_VENDOR_UNKNOWN | |
| CPU_VENDOR_INTEL | |
| CPU_VENDOR_AMD |
public: ~GeoFpControl()
Destructor.
public: GeoFpControl
(
bool highPrecision,
bool enableDenormals
)
Constructor.
Sets precision mode.
Note
On supported consoles, the highPrecision and enableDenormals flags are ignored, and the mode is always
| [in] | highPrecision | Enable high precision. |
| [in] | enableDenormals | Represent denormal numbers. |
public: u32 GEO_CALL GetCpuFeatures()
Retrieve the processors features as a set of flags.
See Also
GeoCpuID.h
public: eCpuVendor GEO_CALL GetCpuVendor()
Get the PC CPU vendor.
public: const char *GEO_CALL GetCpuVendorAsString()
Get the PC CPU vendor as a string.
public: s32 GEO_CALL GetLogicalCpuCoreCount()
Get the number of logical cores.