DisplayInformation
from panda3d.core import DisplayInformation
- class DisplayInformation
Bases:
This class contains various display information.
Inheritance diagram
-
enum DetectionState
-
enumerator DS_unknown = 0
-
enumerator DS_success = 1
-
enumerator DS_direct_3d_create_error = 2
-
enumerator DS_create_window_error = 3
-
enumerator DS_create_device_error = 4
-
enumerator DS_unknown = 0
- __init__()
- __init__(param0: DisplayInformation)
- get_display_mode(display_index: int) DisplayMode
- get_num_cpu_cores() int
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() int
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_shader_model() ShaderModel
- update_memory_information()
-
enum DetectionState