DisplayInformation
from panda3d.core import DisplayInformation
- class DisplayInformation
Bases:
DTOOL_SUPER_BASE
This class contains various display information.
Inheritance diagram
- DSCreateDeviceError = 4
- DSCreateWindowError = 3
- DSDirect3dCreateError = 2
- DSSuccess = 1
- DSUnknown = 0
- DS_create_device_error = 4
- DS_create_window_error = 3
- DS_direct_3d_create_error = 2
- DS_success = 1
- DS_unknown = 0
- __init__(*args, **kwargs)
- getAvailablePageFileSize()
C++ Interface: get_available_page_file_size(const DisplayInformation self)
- /**
*/
- getAvailablePhysicalMemory()
C++ Interface: get_available_physical_memory(const DisplayInformation self)
- /**
*/
- getAvailableProcessVirtualMemory()
C++ Interface: get_available_process_virtual_memory(const DisplayInformation self)
- /**
*/
- getCpuVersionInformation()
C++ Interface: get_cpu_version_information(const DisplayInformation self)
- /**
*/
- getCurrentCpuFrequency()
C++ Interface: get_current_cpu_frequency(const DisplayInformation self)
- /**
*/
- getCurrentDisplayModeIndex()
C++ Interface: get_current_display_mode_index(DisplayInformation self)
- /**
Returns the index of the current display mode (determined at the time of
application start) in the display mode array, or -1 if this could not be
determined.
*/
- getDisplayMode()
C++ Interface: get_display_mode(const DisplayInformation self, int display_index)
- /**
*/
- getDisplayModeBitsPerPixel()
C++ Interface: get_display_mode_bits_per_pixel(const DisplayInformation self, int display_index)
- /**
@deprecated use get_display_mode instead.
*/
- getDisplayModeFullscreenOnly()
C++ Interface: get_display_mode_fullscreen_only(const DisplayInformation self, int display_index)
- /**
@deprecated use get_display_mode instead.
*/
- getDisplayModeHeight()
C++ Interface: get_display_mode_height(const DisplayInformation self, int display_index)
- /**
@deprecated use get_display_mode instead.
*/
- getDisplayModeRefreshRate()
C++ Interface: get_display_mode_refresh_rate(const DisplayInformation self, int display_index)
- /**
@deprecated use get_display_mode instead.
*/
- getDisplayModeWidth()
C++ Interface: get_display_mode_width(const DisplayInformation self, int display_index)
// Older interface for display modes.
- /**
@deprecated use get_display_mode instead.
*/
- getDisplayModes()
- getMaximumCpuFrequency()
C++ Interface: get_maximum_cpu_frequency(const DisplayInformation self)
- /**
*/
- getMaximumWindowHeight()
C++ Interface: get_maximum_window_height(const DisplayInformation self)
- /**
*/
- getMaximumWindowWidth()
C++ Interface: get_maximum_window_width(const DisplayInformation self)
- /**
*/
- getNumCpuCores()
C++ Interface: get_num_cpu_cores(const DisplayInformation self)
- /**
Returns the number of individual CPU cores in the system, or 0 if this
number is not available. A hyperthreaded CPU counts once here.
*/
- getNumLogicalCpus()
C++ Interface: get_num_logical_cpus(const DisplayInformation self)
- /**
Returns the number of logical CPU’s in the system, or 0 if this number is
not available. A hyperthreaded CPU counts as two or more here.
*/
- getOsPlatformId()
C++ Interface: get_os_platform_id(const DisplayInformation self)
- /**
Returns -1 if not set.
*/
- getOsVersionBuild()
C++ Interface: get_os_version_build(const DisplayInformation self)
- /**
Returns -1 if not set.
*/
- getOsVersionMajor()
C++ Interface: get_os_version_major(const DisplayInformation self)
- /**
Returns -1 if not set.
*/
- getOsVersionMinor()
C++ Interface: get_os_version_minor(const DisplayInformation self)
- /**
Returns -1 if not set.
*/
- getPeakPageFileUsage()
C++ Interface: get_peak_page_file_usage(const DisplayInformation self)
- /**
*/
- getPeakProcessMemory()
C++ Interface: get_peak_process_memory(const DisplayInformation self)
- /**
*/
- getProcessVirtualMemory()
C++ Interface: get_process_virtual_memory(const DisplayInformation self)
- /**
*/
- getTotalDisplayModes()
C++ Interface: get_total_display_modes(const DisplayInformation self)
- /**
*/
- getWindowBitsPerPixel()
C++ Interface: get_window_bits_per_pixel(const DisplayInformation self)
- /**
*/
- get_available_page_file_size()
C++ Interface: get_available_page_file_size(const DisplayInformation self)
- /**
*/
- get_available_physical_memory()
C++ Interface: get_available_physical_memory(const DisplayInformation self)
- /**
*/
- get_available_process_virtual_memory()
C++ Interface: get_available_process_virtual_memory(const DisplayInformation self)
- /**
*/
- get_cpu_version_information()
C++ Interface: get_cpu_version_information(const DisplayInformation self)
- /**
*/
- get_current_cpu_frequency()
C++ Interface: get_current_cpu_frequency(const DisplayInformation self)
- /**
*/
- get_current_display_mode_index()
C++ Interface: get_current_display_mode_index(DisplayInformation self)
- /**
Returns the index of the current display mode (determined at the time of
application start) in the display mode array, or -1 if this could not be
determined.
*/
- get_display_mode()
C++ Interface: get_display_mode(const DisplayInformation self, int display_index)
- /**
*/
- get_display_mode_bits_per_pixel()
C++ Interface: get_display_mode_bits_per_pixel(const DisplayInformation self, int display_index)
- /**
@deprecated use get_display_mode instead.
*/
- get_display_mode_fullscreen_only()
C++ Interface: get_display_mode_fullscreen_only(const DisplayInformation self, int display_index)
- /**
@deprecated use get_display_mode instead.
*/
- get_display_mode_height()
C++ Interface: get_display_mode_height(const DisplayInformation self, int display_index)
- /**
@deprecated use get_display_mode instead.
*/
- get_display_mode_refresh_rate()
C++ Interface: get_display_mode_refresh_rate(const DisplayInformation self, int display_index)
- /**
@deprecated use get_display_mode instead.
*/
- get_display_mode_width()
C++ Interface: get_display_mode_width(const DisplayInformation self, int display_index)
// Older interface for display modes.
- /**
@deprecated use get_display_mode instead.
*/
- get_display_modes()
- get_driver_sub_version()
C++ Interface: get_driver_sub_version(const DisplayInformation self)
- /**
*/
- get_maximum_cpu_frequency()
C++ Interface: get_maximum_cpu_frequency(const DisplayInformation self)
- /**
*/
- get_maximum_window_height()
C++ Interface: get_maximum_window_height(const DisplayInformation self)
- /**
*/
- get_maximum_window_width()
C++ Interface: get_maximum_window_width(const DisplayInformation self)
- /**
*/
- get_num_cpu_cores()
C++ Interface: get_num_cpu_cores(const DisplayInformation self)
- /**
Returns the number of individual CPU cores in the system, or 0 if this
number is not available. A hyperthreaded CPU counts once here.
*/
- get_num_logical_cpus()
C++ Interface: get_num_logical_cpus(const DisplayInformation self)
- /**
Returns the number of logical CPU’s in the system, or 0 if this number is
not available. A hyperthreaded CPU counts as two or more here.
*/
- get_os_platform_id()
C++ Interface: get_os_platform_id(const DisplayInformation self)
- /**
Returns -1 if not set.
*/
- get_os_version_build()
C++ Interface: get_os_version_build(const DisplayInformation self)
- /**
Returns -1 if not set.
*/
- get_os_version_major()
C++ Interface: get_os_version_major(const DisplayInformation self)
- /**
Returns -1 if not set.
*/
- get_os_version_minor()
C++ Interface: get_os_version_minor(const DisplayInformation self)
- /**
Returns -1 if not set.
*/
- get_peak_page_file_usage()
C++ Interface: get_peak_page_file_usage(const DisplayInformation self)
- /**
*/
- get_peak_process_memory()
C++ Interface: get_peak_process_memory(const DisplayInformation self)
- /**
*/
- get_process_virtual_memory()
C++ Interface: get_process_virtual_memory(const DisplayInformation self)
- /**
*/
- get_total_display_modes()
C++ Interface: get_total_display_modes(const DisplayInformation self)
- /**
*/
- get_window_bits_per_pixel()
C++ Interface: get_window_bits_per_pixel(const DisplayInformation self)
- /**
*/
- updateCpuFrequency()
C++ Interface: update_cpu_frequency(const DisplayInformation self, int processor_number)
- /**
*/
- updateMemoryInformation()
C++ Interface: update_memory_information(const DisplayInformation self)
- /**
*/