Version: 2022.1
LanguageEnglish
  • C#

SystemInfo

class in UnityEngine.Device

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

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.

Close

Submission failed

For 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.

Close

Cancel

Description

Access platform-specific system and hardware information.

This class has the same functionality as SystemInfo and also mimics platform-specific behavior in the Unity Editor. Use it together with the Device Simulator to test platform-specific behaviors inside the Editor. Outside of the Editor, this class behaves exactly like the SystemInfo class. Unity strips all simulation capabilities during the build process. Use the original SystemInfo class if you work directly with the Unity Editor (for example, to create a custom Editor tool) and you don't need to use any simulated values.

Static Properties

batteryLevelThis has the same functionality as SystemInfo.batteryLevel and also mimics platform-specific behavior in the Unity Editor.
batteryStatusThis has the same functionality as SystemInfo.batteryStatus and also mimics platform-specific behavior in the Unity Editor.
computeSubGroupSizeThis has the same functionality as SystemInfo.computeSubGroupSize and also mimics platform-specific behavior in the Unity Editor.
constantBufferOffsetAlignmentThis has the same functionality as SystemInfo.constantBufferOffsetAlignment and also mimics platform-specific behavior in the Unity Editor.
copyTextureSupportThis has the same functionality as SystemInfo.copyTextureSupport and also mimics platform-specific behavior in the Unity Editor.
deviceModelThis has the same functionality as SystemInfo.deviceModel and also mimics platform-specific behavior in the Unity Editor.
deviceNameThis has the same functionality as SystemInfo.deviceName and also mimics platform-specific behavior in the Unity Editor.
deviceTypeThis has the same functionality as SystemInfo.deviceType and also mimics platform-specific behavior in the Unity Editor.
deviceUniqueIdentifierThis has the same functionality as SystemInfo.deviceUniqueIdentifier and also mimics platform-specific behavior in the Unity Editor.
graphicsDeviceIDThis has the same functionality as SystemInfo.graphicsDeviceID and also mimics platform-specific behavior in the Unity Editor.
graphicsDeviceNameThis has the same functionality as SystemInfo.graphicsDeviceName and also mimics platform-specific behavior in the Unity Editor.
graphicsDeviceTypeThis has the same functionality as SystemInfo.graphicsDeviceType and also mimics platform-specific behavior in the Unity Editor.
graphicsDeviceVendorThis has the same functionality as SystemInfo.graphicsDeviceVendor and also mimics platform-specific behavior in the Unity Editor.
graphicsDeviceVendorIDThis has the same functionality as SystemInfo.graphicsDeviceVendorID and also mimics platform-specific behavior in the Unity Editor.
graphicsDeviceVersionThis has the same functionality as SystemInfo.graphicsDeviceVersion and also mimics platform-specific behavior in the Unity Editor.
graphicsMemorySizeThis has the same functionality as SystemInfo.graphicsMemorySize and also mimics platform-specific behavior in the Unity Editor.
graphicsMultiThreadedThis has the same functionality as SystemInfo.graphicsMultiThreaded and also mimics platform-specific behavior in the Unity Editor.
graphicsShaderLevelThis has the same functionality as SystemInfo.graphicsShaderLevel and also mimics platform-specific behavior in the Unity Editor.
graphicsUVStartsAtTopThis has the same functionality as SystemInfo.graphicsUVStartsAtTop and also mimics platform-specific behavior in the Unity Editor.
hasDynamicUniformArrayIndexingInFragmentShadersThis has the same functionality as SystemInfo.hasDynamicUniformArrayIndexingInFragmentShaders and also mimics platform-specific behavior in the Unity Editor.
hasHiddenSurfaceRemovalOnGPUThis has the same functionality as SystemInfo.hasHiddenSurfaceRemovalOnGPU and also mimics platform-specific behavior in the Unity Editor.
hasMipMaxLevelThis has the same functionality as SystemInfo.hasMipMaxLevel and also mimics platform-specific behavior in the Unity Editor.
hdrDisplaySupportFlagsThis has the same functionality as SystemInfo.hdrDisplaySupportFlags and also mimics platform-specific behavior in the Unity Editor.
maxComputeBufferInputsComputeThis has the same functionality as SystemInfo.maxComputeBufferInputsCompute and also mimics platform-specific behavior in the Unity Editor.
maxComputeBufferInputsDomainThis has the same functionality as SystemInfo.maxComputeBufferInputsDomain and also mimics platform-specific behavior in the Unity Editor.
maxComputeBufferInputsFragmentThis has the same functionality as SystemInfo.maxComputeBufferInputsFragment and also mimics platform-specific behavior in the Unity Editor.
maxComputeBufferInputsGeometryThis has the same functionality as SystemInfo.maxComputeBufferInputsGeometry and also mimics platform-specific behavior in the Unity Editor.
maxComputeBufferInputsHullThis has the same functionality as SystemInfo.maxComputeBufferInputsHull and also mimics platform-specific behavior in the Unity Editor.
maxComputeBufferInputsVertexThis has the same functionality as SystemInfo.maxComputeBufferInputsVertex and also mimics platform-specific behavior in the Unity Editor.
maxComputeWorkGroupSizeThis has the same functionality as SystemInfo.maxComputeWorkGroupSize and also mimics platform-specific behavior in the Unity Editor.
maxComputeWorkGroupSizeXThis has the same functionality as SystemInfo.maxComputeWorkGroupSizeX and also mimics platform-specific behavior in the Unity Editor.
maxComputeWorkGroupSizeYThis has the same functionality as SystemInfo.maxComputeWorkGroupSizeY and also mimics platform-specific behavior in the Unity Editor.
maxComputeWorkGroupSizeZThis has the same functionality as SystemInfo.maxComputeWorkGroupSizeZ and also mimics platform-specific behavior in the Unity Editor.
maxCubemapSizeThis has the same functionality as SystemInfo.maxCubemapSize and also mimics platform-specific behavior in the Unity Editor.
maxGraphicsBufferSizeThe maximum size of a graphics buffer (GraphicsBuffer, ComputeBuffer, vertex/index buffer, etc.) in bytes (Read Only).
maxTexture3DSizeThis has the same functionality as SystemInfo.maxTexture3DSize and also mimics platform-specific behavior in the Unity Editor.
maxTextureArraySlicesThis has the same functionality as SystemInfo.maxTextureArraySlices and also mimics platform-specific behavior in the Unity Editor.
maxTextureSizeThis has the same functionality as SystemInfo.maxTextureSize and also mimics platform-specific behavior in the Unity Editor.
npotSupportThis has the same functionality as SystemInfo.npotSupport and also mimics platform-specific behavior in the Unity Editor.
operatingSystemThis has the same functionality as SystemInfo.operatingSystem and also mimics platform-specific behavior in the Unity Editor.
operatingSystemFamilyThis has the same functionality as SystemInfo.operatingSystemFamily and also mimics platform-specific behavior in the Unity Editor.
processorCountThis has the same functionality as SystemInfo.processorCount and also mimics platform-specific behavior in the Unity Editor.
processorFrequencyThis has the same functionality as SystemInfo.processorFrequency and also mimics platform-specific behavior in the Unity Editor.
processorTypeThis has the same functionality as SystemInfo.processorType and also mimics platform-specific behavior in the Unity Editor.
renderingThreadingModeThis has the same functionality as SystemInfo.renderingThreadingMode and also mimics platform-specific behavior in the Unity Editor.
supportedRandomWriteTargetCountThis has the same functionality as SystemInfo.supportedRandomWriteTargetCount and also mimics platform-specific behavior in the Unity Editor.
supportedRenderTargetCountThis has the same functionality as SystemInfo.supportedRenderTargetCount and also mimics platform-specific behavior in the Unity Editor.
supports2DArrayTexturesThis has the same functionality as SystemInfo.supports2DArrayTextures and also mimics platform-specific behavior in the Unity Editor.
supports32bitsIndexBufferThis has the same functionality as SystemInfo.supports32bitsIndexBuffer and also mimics platform-specific behavior in the Unity Editor.
supports3DRenderTexturesThis has the same functionality as SystemInfo.supports3DRenderTextures and also mimics platform-specific behavior in the Unity Editor.
supports3DTexturesThis has the same functionality as SystemInfo.supports3DTextures and also mimics platform-specific behavior in the Unity Editor.
supportsAccelerometerThis has the same functionality as SystemInfo.supportsAccelerometer and also mimics platform-specific behavior in the Unity Editor.
supportsAsyncComputeThis has the same functionality as SystemInfo.supportsAsyncCompute and also mimics platform-specific behavior in the Unity Editor.
supportsAsyncGPUReadbackThis has the same functionality as SystemInfo.supportsAsyncGPUReadback and also mimics platform-specific behavior in the Unity Editor.
supportsAudioThis has the same functionality as SystemInfo.supportsAudio and also mimics platform-specific behavior in the Unity Editor.
supportsCompressed3DTexturesThis has the same functionality as SystemInfo.supportsCompressed3DTextures and also mimics platform-specific behavior in the Unity Editor.
supportsComputeShadersThis has the same functionality as SystemInfo.supportsComputeShaders and also mimics platform-specific behavior in the Unity Editor.
supportsConservativeRasterThis has the same functionality as SystemInfo.supportsConservativeRaster and also mimics platform-specific behavior in the Unity Editor.
supportsCubemapArrayTexturesThis has the same functionality as SystemInfo.supportsCubemapArrayTextures and also mimics platform-specific behavior in the Unity Editor.
supportsGeometryShadersThis has the same functionality as SystemInfo.supportsGeometryShaders and also mimics platform-specific behavior in the Unity Editor.
supportsGpuRecorderThis has the same functionality as SystemInfo.supportsGpuRecorder and also mimics platform-specific behavior in the Unity Editor.
supportsGraphicsFenceThis has the same functionality as SystemInfo.supportsGraphicsFence and also mimics platform-specific behavior in the Unity Editor.
supportsGyroscopeThis has the same functionality as SystemInfo.supportsGyroscope and also mimics platform-specific behavior in the Unity Editor.
supportsHardwareQuadTopologyThis has the same functionality as SystemInfo.supportsHardwareQuadTopology and also mimics platform-specific behavior in the Unity Editor.
supportsIndirectArgumentsBufferThis property has the same functionality as SystemInfo.supportsIndirectArgumentsBuffer and also mimics platform-specific behavior in the Unity Editor.
supportsInstancingThis has the same functionality as SystemInfo.supportsInstancing and also mimics platform-specific behavior in the Unity Editor.
supportsLocationServiceThis has the same functionality as SystemInfo.supportsLocationService and also mimics platform-specific behavior in the Unity Editor.
supportsMipStreamingThis has the same functionality as SystemInfo.supportsMipStreaming and also mimics platform-specific behavior in the Unity Editor.
supportsMotionVectorsThis has the same functionality as SystemInfo.supportsMotionVectors and also mimics platform-specific behavior in the Unity Editor.
supportsMultisampleAutoResolveThis has the same functionality as SystemInfo.supportsMultisampleAutoResolve and also mimics platform-specific behavior in the Unity Editor.
supportsMultisampled2DArrayTexturesThis has the same functionality as SystemInfo.supportsMultisampled2DArrayTextures and also mimics platform-specific behavior in the Unity Editor.
supportsMultisampledTexturesThis has the same functionality as SystemInfo.supportsMultisampledTextures and also mimics platform-specific behavior in the Unity Editor.
supportsMultisampleResolveDepthThis property has the same functionality as SystemInfo.supportsMultisampleResolveDepth and also mimics platform-specific behavior in the Unity Editor.
supportsMultisampleResolveStencilThis property has the same functionality as SystemInfo.supportsMultisampleResolveStencil and also mimics platform-specific behavior in the Unity Editor.
supportsMultiviewThis has the same functionality as SystemInfo.supportsMultiview and also mimics platform-specific behavior in the Unity Editor.
supportsRawShadowDepthSamplingThis has the same functionality as SystemInfo.supportsRawShadowDepthSampling and also mimics platform-specific behavior in the Unity Editor.
supportsRayTracingThis has the same functionality as SystemInfo.supportsRayTracing and also mimics platform-specific behavior in the Unity Editor.
supportsRenderTargetArrayIndexFromVertexShaderThis has the same functionality as SystemInfo.supportsRenderTargetArrayIndexFromVertexShader and also mimics platform-specific behavior in the Unity Editor.
supportsSeparatedRenderTargetsBlendThis has the same functionality as SystemInfo.supportsSeparatedRenderTargetsBlend and also mimics platform-specific behavior in the Unity Editor.
supportsSetConstantBufferThis has the same functionality as SystemInfo.supportsSetConstantBuffer and also mimics platform-specific behavior in the Unity Editor.
supportsShadowsThis has the same functionality as SystemInfo.supportsShadows and also mimics platform-specific behavior in the Unity Editor.
supportsSparseTexturesThis has the same functionality as SystemInfo.supportsSparseTextures and also mimics platform-specific behavior in the Unity Editor.
supportsStoreAndResolveActionThis property has the same functionality as SystemInfo.supportsStoreAndResolveAction and also shows platform-specific behavior in the Unity Editor.
supportsTessellationShadersThis has the same functionality as SystemInfo.supportsTessellationShaders and also mimics platform-specific behavior in the Unity Editor.
supportsTextureWrapMirrorOnceThis has the same functionality as SystemInfo.supportsTextureWrapMirrorOnce and also mimics platform-specific behavior in the Unity Editor.
supportsVibrationThis has the same functionality as SystemInfo.supportsVibration and also mimics platform-specific behavior in the Unity Editor.
systemMemorySizeThis has the same functionality as SystemInfo.systemMemorySize and also mimics platform-specific behavior in the Unity Editor.
unsupportedIdentifierThis has the same functionality as SystemInfo.unsupportedIdentifier.
usesLoadStoreActionsThis has the same functionality as SystemInfo.usesLoadStoreActions and also mimics platform-specific behavior in the Unity Editor.
usesReversedZBufferThis has the same functionality as SystemInfo.usesReversedZBuffer and also mimics platform-specific behavior in the Unity Editor.

Static Methods

GetCompatibleFormatThis has the same functionality as SystemInfo.GetCompatibleFormat and also mimics platform-specific behavior in the Unity Editor.
GetGraphicsFormatThis has the same functionality as SystemInfo.GetGraphicsFormat and also mimics platform-specific behavior in the Unity Editor.
GetRenderTextureSupportedMSAASampleCountThis has the same functionality as SystemInfo.GetRenderTextureSupportedMSAASampleCount and also mimics platform-specific behavior in the Unity Editor.
IsFormatSupportedThis has the same functionality as SystemInfo.IsFormatSupported and also mimics platform-specific behavior in the Unity Editor.
SupportsBlendingOnRenderTextureFormatThis has the same functionality as SystemInfo.SupportsBlendingOnRenderTextureFormat and also mimics platform-specific behavior in the Unity Editor.
SupportsRandomWriteOnRenderTextureFormatThis has the same functionality as SystemInfo.SupportsRandomWriteOnRenderTextureFormat. At the moment, the Device Simulator doesn't support simulation of this method.
SupportsRenderTextureFormatThis has the same functionality as SystemInfo.SupportsRenderTextureFormat and also mimics platform-specific behavior in the Unity Editor.
SupportsTextureFormatThis has the same functionality as SystemInfo.SupportsTextureFormat and also mimics platform-specific behavior in the Unity Editor.
SupportsVertexAttributeFormatThis has the same functionality as SystemInfo.SupportsVertexAttributeFormat and also mimics platform-specific behavior in the Unity Editor.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961