Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEngine
/
Implemented in:UnityEngine.CoreModule
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseAccess system and hardware information.
Use this class to figure out capabilities of the underlying platform and hardware. For example, you can check which RenderTexture formats are supported (SupportsRenderTextureFormat), how many CPU threads are available (processorCount), and so on.
batteryLevel | The current battery level (Read Only). |
batteryStatus | Returns the current status of the device's battery (Read Only). |
copyTextureSupport | Support for various Graphics.CopyTexture cases (Read Only). |
deviceModel | The model of the device (Read Only). |
deviceName | The user defined name of the device (Read Only). |
deviceType | Returns the kind of device the application is running on (Read Only). |
deviceUniqueIdentifier | A unique device identifier. It is guaranteed to be unique for every device (Read Only). |
graphicsDeviceID | The identifier code of the graphics device (Read Only). |
graphicsDeviceName | The name of the graphics device (Read Only). |
graphicsDeviceType | The graphics API type used by the graphics device (Read Only). |
graphicsDeviceVendor | The vendor of the graphics device (Read Only). |
graphicsDeviceVendorID | The identifier code of the graphics device vendor (Read Only). |
graphicsDeviceVersion | The graphics API type and driver version used by the graphics device (Read Only). |
graphicsMemorySize | Amount of video memory present (Read Only). |
graphicsMultiThreaded | Is graphics device using multi-threaded rendering (Read Only)? |
graphicsShaderLevel | Graphics device shader capability level (Read Only). |
graphicsUVStartsAtTop | Returns true if the texture UV coordinate convention for this platform has Y starting at the top of the image. |
maxCubemapSize | Maximum Cubemap texture size (Read Only). |
maxTextureSize | Maximum texture size (Read Only). |
npotSupport | What NPOT (non-power of two size) texture support does the GPU provide? (Read Only) |
operatingSystem | Operating system name with version (Read Only). |
operatingSystemFamily | Returns the operating system family the game is running on (Read Only). |
processorCount | Number of processors present (Read Only). |
processorFrequency | Processor frequency in MHz (Read Only). |
processorType | Processor name (Read Only). |
supportedRenderTargetCount | How many simultaneous render targets (MRTs) are supported? (Read Only) |
supports2DArrayTextures | Are 2D Array textures supported? (Read Only) |
supports32bitsIndexBuffer | Are 32-bit index buffers supported? (Read Only) |
supports3DRenderTextures | Are 3D (volume) RenderTextures supported? (Read Only) |
supports3DTextures | Are 3D (volume) textures supported? (Read Only) |
supportsAccelerometer | Is an accelerometer available on the device? |
supportsAsyncCompute | Returns true when the platform supports asynchronous compute queues and false if otherwise.Note that asynchronous compute queues are only supported on PS4. |
supportsAsyncGPUReadback | Returns true if asynchronous readback of GPU data is available for this device and false otherwise. |
supportsAudio | Is there an Audio device available for playback? |
supportsComputeShaders | Are compute shaders supported? (Read Only) |
supportsCubemapArrayTextures | Are Cubemap Array textures supported? (Read Only) |
supportsGPUFence | Returns true when the platform supports GPUFences and false if otherwise.Note that GPUFences are only supported on PS4. |
supportsGyroscope | Is a gyroscope available on the device? |
supportsHardwareQuadTopology | Does the hardware support quad topology? (Read Only) |
supportsImageEffects | Are image effects supported? (Read Only) |
supportsInstancing | Is GPU draw call instancing supported? (Read Only) |
supportsLocationService | Is the device capable of reporting its location? |
supportsMotionVectors | Whether motion vectors are supported on this platform. |
supportsMultisampledTextures | Are multisampled textures supported? (Read Only) |
supportsRawShadowDepthSampling | Is sampling raw depth from shadowmaps supported? (Read Only) |
supportsRenderToCubemap | Are cubemap render textures supported? (Read Only) |
supportsShadows | Are built-in shadows supported? (Read Only) |
supportsSparseTextures | Are sparse textures supported? (Read Only) |
supportsTextureWrapMirrorOnce | Returns true if the 'Mirror Once' texture wrap mode is supported. (Read Only) |
supportsVibration | Is the device capable of providing the user haptic feedback by vibration? |
systemMemorySize | Amount of system memory present (Read Only). |
unsupportedIdentifier | Value returned by SystemInfo string properties which are not supported on the current platform. |
usesReversedZBuffer | This property is true if the current platform uses a reversed depth buffer (where values range from 1 at the near plane and 0 at far plane), and false if the depth buffer is normal (0 is near, 1 is far). (Read Only) |
SupportsBlendingOnRenderTextureFormat | Is blending supported on render texture format? |
SupportsRenderTextureFormat | Is render texture format supported? |
SupportsTextureFormat | Is texture format supported on this device? |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thanks for helping to make the Unity documentation better!