# DisplayInformation

from pandac.PandaModules import DisplayInformation

Class : DisplayInformation
Description : This class contains various display information.

## Inheritance:

DisplayInformation:

## Methods of DisplayInformation:

getAvailablePageFileSize
getAvailablePhysicalMemory
getAvailableProcessVirtualMemory
getCpuBrandIndex
getCpuBrandString
getCpuFrequency
getCpuIdData
getCpuIdSize
getCpuIdVersion
getCpuTime
getCpuVendorString
getCpuVersionInformation
getCurrentCpuFrequency
getDeviceId
getDisplayModeBitsPerPixel
getDisplayModeFullscreenOnly
getDisplayModeHeight
getDisplayModeRefreshRate
getDisplayModeWidth
getDisplayState
getDriverBuild
getDriverDateDay
getDriverDateMonth
getDriverDateYear
getDriverProduct
getDriverSubVersion
getDriverVersion
getMaximumCpuFrequency
getMaximumWindowHeight
getMaximumWindowWidth
getMemoryLoad
getOsPlatformId
getOsVersionBuild
getOsVersionMajor
getOsVersionMinor
getPageFaultCount
getPageFileSize
getPageFileUsage
getPeakPageFileUsage
getPeakProcessMemory
getPhysicalMemory
getProcessMemory
getProcessVirtualMemory
getShaderModel
getTextureMemory
getTotalDisplayModes
getVendorId
getVideoMemory
getWindowBitsPerPixel
updateCpuFrequency
updateMemoryInformation

## Constants in DisplayInformation:

DSUnknown | (DetectionState)
DSSuccess | (DetectionState)
DSDirect3dCreateError | (DetectionState)
DSCreateWindowError | (DetectionState)
DSCreateDeviceError | (DetectionState)

getAvailablePageFileSize unsigned __int64 DisplayInformation::get_available_page_file_size(void); Description:

getAvailablePhysicalMemory unsigned __int64 DisplayInformation::get_available_physical_memory(void); Description:

getAvailableProcessVirtualMemory unsigned __int64 DisplayInformation::get_available_process_virtual_memory(void); Description:

getCpuBrandIndex unsigned int DisplayInformation::get_cpu_brand_index(void); Description:

getCpuBrandString char *DisplayInformation::get_cpu_brand_string(void); Description:

getCpuFrequency unsigned __int64 DisplayInformation::get_cpu_frequency(void); Description:

getCpuIdData unsigned int DisplayInformation::get_cpu_id_data(int index); Description: Returns part of cpu id binary data based on the index.

getCpuIdSize int DisplayInformation::get_cpu_id_size(void); Description: Returns the number of 32-bit values for cpu id binary data.

getCpuIdVersion int DisplayInformation::get_cpu_id_version(void); Description:

getCpuTime unsigned __int64 DisplayInformation::get_cpu_time(void); Description:

getCpuVendorString char *DisplayInformation::get_cpu_vendor_string(void); Description:

getCpuVersionInformation unsigned int DisplayInformation::get_cpu_version_information(void); Description:

getCurrentCpuFrequency unsigned __int64 DisplayInformation::get_current_cpu_frequency(void); Description:

getDeviceId int DisplayInformation::get_device_id(void); Description:

getDisplayModeBitsPerPixel int DisplayInformation::get_display_mode_bits_per_pixel(int display_index); Description:

getDisplayModeFullscreenOnly int DisplayInformation::get_display_mode_fullscreen_only(int display_index); Description:

getDisplayModeHeight int DisplayInformation::get_display_mode_height(int display_index); Description:

getDisplayModeRefreshRate int DisplayInformation::get_display_mode_refresh_rate(int display_index); Description:

getDisplayModeWidth int DisplayInformation::get_display_mode_width(int display_index); Description:

getDisplayState int DisplayInformation::get_display_state(void); Description:

getDriverBuild int DisplayInformation::get_driver_build(void); Description:

getDriverDateDay int DisplayInformation::get_driver_date_day(void); Description:

getDriverDateMonth int DisplayInformation::get_driver_date_month(void); Description:

getDriverDateYear int DisplayInformation::get_driver_date_year(void); Description:

getDriverProduct int DisplayInformation::get_driver_product(void); Description:

getDriverSubVersion int DisplayInformation::get_driver_sub_version(void); Description:

getDriverVersion int DisplayInformation::get_driver_version(void); Description:

getMaximumCpuFrequency unsigned __int64 DisplayInformation::get_maximum_cpu_frequency(void); Description:

getMaximumWindowHeight int DisplayInformation::get_maximum_window_height(void); Description:

getMaximumWindowWidth int DisplayInformation::get_maximum_window_width(void); Description:

getMemoryLoad int DisplayInformation::get_memory_load(void); Description:

getOsPlatformId int DisplayInformation::get_os_platform_id(void); Description: Returns -1 if not set.

getOsVersionBuild int DisplayInformation::get_os_version_build(void); Description: Returns -1 if not set.

getOsVersionMajor int DisplayInformation::get_os_version_major(void); Description: Returns -1 if not set.

getOsVersionMinor int DisplayInformation::get_os_version_minor(void); Description: Returns -1 if not set.

getPageFaultCount unsigned __int64 DisplayInformation::get_page_fault_count(void); Description:

getPageFileSize unsigned __int64 DisplayInformation::get_page_file_size(void); Description:

getPageFileUsage unsigned __int64 DisplayInformation::get_page_file_usage(void); Description:

getPeakPageFileUsage unsigned __int64 DisplayInformation::get_peak_page_file_usage(void); Description:

getPeakProcessMemory unsigned __int64 DisplayInformation::get_peak_process_memory(void); Description:

getPhysicalMemory unsigned __int64 DisplayInformation::get_physical_memory(void); Description:

getProcessMemory unsigned __int64 DisplayInformation::get_process_memory(void); Description:

getProcessVirtualMemory unsigned __int64 DisplayInformation::get_process_virtual_memory(void); Description:

getShaderModel int DisplayInformation::get_shader_model(void); Description:

getTextureMemory int DisplayInformation::get_texture_memory(void); Description:

getTotalDisplayModes int DisplayInformation::get_total_display_modes(void); Description:

getVendorId int DisplayInformation::get_vendor_id(void); Description:

getVideoMemory int DisplayInformation::get_video_memory(void); Description:

getWindowBitsPerPixel int DisplayInformation::get_window_bits_per_pixel(void); Description:

updateCpuFrequency void DisplayInformation::update_cpu_frequency(int processor_number); Description:

updateMemoryInformation void DisplayInformation::update_memory_information(void); Description: