DisplayInformation

from panda3d.core import DisplayInformation
class DisplayInformation

Bases: DTOOL_SUPER_BASE

This class contains various display information.

Inheritance diagram

Inheritance diagram of DisplayInformation

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)

/**

*/

getCpuBrandIndex()

C++ Interface: get_cpu_brand_index(const DisplayInformation self)

/**

*/

getCpuBrandString()

C++ Interface: get_cpu_brand_string(DisplayInformation self)

/**

*/

getCpuFrequency()

C++ Interface: get_cpu_frequency(const DisplayInformation self)

/**

*/

getCpuTime()

C++ Interface: get_cpu_time()

/**
  • Equivalent to the rdtsc processor instruction.

*/

getCpuVendorString()

C++ Interface: get_cpu_vendor_string(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.

*/

getDeviceId()

C++ Interface: get_device_id(const DisplayInformation self)

/**

*/

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()
getDisplayState()

C++ Interface: get_display_state(const DisplayInformation self)

/**

*/

getDriverBuild()

C++ Interface: get_driver_build(const DisplayInformation self)

/**

*/

getDriverDateDay()

C++ Interface: get_driver_date_day(const DisplayInformation self)

/**

*/

getDriverDateMonth()

C++ Interface: get_driver_date_month(const DisplayInformation self)

/**

*/

getDriverDateYear()

C++ Interface: get_driver_date_year(const DisplayInformation self)

/**

*/

getDriverProduct()

C++ Interface: get_driver_product(const DisplayInformation self)

/**

*/

getDriverSubVersion()

C++ Interface: get_driver_sub_version(const DisplayInformation self)

/**

*/

getDriverVersion()

C++ Interface: get_driver_version(const DisplayInformation self)

/**

*/

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)

/**

*/

getMemoryLoad()

C++ Interface: get_memory_load(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.

*/

getPageFaultCount()

C++ Interface: get_page_fault_count(const DisplayInformation self)

/**

*/

getPageFileSize()

C++ Interface: get_page_file_size(const DisplayInformation self)

/**

*/

getPageFileUsage()

C++ Interface: get_page_file_usage(const DisplayInformation self)

/**

*/

getPeakPageFileUsage()

C++ Interface: get_peak_page_file_usage(const DisplayInformation self)

/**

*/

getPeakProcessMemory()

C++ Interface: get_peak_process_memory(const DisplayInformation self)

/**

*/

getPhysicalMemory()

C++ Interface: get_physical_memory(const DisplayInformation self)

/**

*/

getProcessMemory()

C++ Interface: get_process_memory(const DisplayInformation self)

/**

*/

getProcessVirtualMemory()

C++ Interface: get_process_virtual_memory(const DisplayInformation self)

/**

*/

getShaderModel()

C++ Interface: get_shader_model(const DisplayInformation self)

/**

*/

getTextureMemory()

C++ Interface: get_texture_memory(const DisplayInformation self)

/**

*/

getTotalDisplayModes()

C++ Interface: get_total_display_modes(const DisplayInformation self)

/**

*/

getVendorId()

C++ Interface: get_vendor_id(const DisplayInformation self)

/**

*/

getVideoMemory()

C++ Interface: get_video_memory(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_brand_index()

C++ Interface: get_cpu_brand_index(const DisplayInformation self)

/**

*/

get_cpu_brand_string()

C++ Interface: get_cpu_brand_string(DisplayInformation self)

/**

*/

get_cpu_frequency()

C++ Interface: get_cpu_frequency(const DisplayInformation self)

/**

*/

get_cpu_time()

C++ Interface: get_cpu_time()

/**
  • Equivalent to the rdtsc processor instruction.

*/

get_cpu_vendor_string()

C++ Interface: get_cpu_vendor_string(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_device_id()

C++ Interface: get_device_id(const DisplayInformation self)

/**

*/

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_display_state()

C++ Interface: get_display_state(const DisplayInformation self)

/**

*/

get_driver_build()

C++ Interface: get_driver_build(const DisplayInformation self)

/**

*/

get_driver_date_day()

C++ Interface: get_driver_date_day(const DisplayInformation self)

/**

*/

get_driver_date_month()

C++ Interface: get_driver_date_month(const DisplayInformation self)

/**

*/

get_driver_date_year()

C++ Interface: get_driver_date_year(const DisplayInformation self)

/**

*/

get_driver_product()

C++ Interface: get_driver_product(const DisplayInformation self)

/**

*/

get_driver_sub_version()

C++ Interface: get_driver_sub_version(const DisplayInformation self)

/**

*/

get_driver_version()

C++ Interface: get_driver_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_memory_load()

C++ Interface: get_memory_load(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_page_fault_count()

C++ Interface: get_page_fault_count(const DisplayInformation self)

/**

*/

get_page_file_size()

C++ Interface: get_page_file_size(const DisplayInformation self)

/**

*/

get_page_file_usage()

C++ Interface: get_page_file_usage(const DisplayInformation self)

/**

*/

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_physical_memory()

C++ Interface: get_physical_memory(const DisplayInformation self)

/**

*/

get_process_memory()

C++ Interface: get_process_memory(const DisplayInformation self)

/**

*/

get_process_virtual_memory()

C++ Interface: get_process_virtual_memory(const DisplayInformation self)

/**

*/

get_shader_model()

C++ Interface: get_shader_model(const DisplayInformation self)

/**

*/

get_texture_memory()

C++ Interface: get_texture_memory(const DisplayInformation self)

/**

*/

get_total_display_modes()

C++ Interface: get_total_display_modes(const DisplayInformation self)

/**

*/

get_vendor_id()

C++ Interface: get_vendor_id(const DisplayInformation self)

/**

*/

get_video_memory()

C++ Interface: get_video_memory(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)

/**

*/

update_cpu_frequency()

C++ Interface: update_cpu_frequency(const DisplayInformation self, int processor_number)

/**

*/

update_memory_information()

C++ Interface: update_memory_information(const DisplayInformation self)

/**

*/