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)
- getCurrentDisplayModeIndex() int
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(display_index: int) DisplayMode
- getNumCpuCores() 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.
- getNumLogicalCpus() 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.
- getShaderModel() ShaderModel
- updateMemoryInformation()
-
enum DetectionState