Scripting API

SystemInfo

static class in UnityEngine · UnityEngine.CoreModule

48 of 122 of Unity's membersUnity's documentation
In Tassix

The device the game runs on: operating system, processor and memory from the system; desktops only (no battery, gyroscope or vibration). The graphics values describe Tassix's renderer (wgpu) in general terms rather than the adapter in use.

Fields 1

const string unsupportedIdentifier

Properties 46

static float batteryLevel { get; }
static BatteryStatus batteryStatus { get; }
static CopyTextureSupport copyTextureSupport { get; }
static string deviceModel { get; }
static string deviceName { get; }
static DeviceType deviceType { get; }
static string deviceUniqueIdentifier { get; }

A stable identifier for this machine and user (a SHA-1 of their names, as hex).

static int graphicsDeviceID { get; }
static string graphicsDeviceName { get; }
static GraphicsDeviceType graphicsDeviceType { get; }
static string graphicsDeviceVendor { get; }
static int graphicsDeviceVendorID { get; }
static string graphicsDeviceVersion { get; }
static int graphicsMemorySize { get; }
static bool graphicsMultiThreaded { get; }
static int graphicsShaderLevel { get; }
static bool graphicsUVStartsAtTop { get; }
static bool hasHiddenSurfaceRemovalOnGPU { get; }
static int maxCubemapSize { get; }
static int maxTextureSize { get; }
static NPOTSupport npotSupport { get; }
static string operatingSystem { get; }
static OperatingSystemFamily operatingSystemFamily { get; }
static int processorCount { get; }
static int processorFrequency { get; }
static string processorManufacturer { get; }
static string processorModel { get; }
static string processorType { get; }
static int supportedRenderTargetCount { get; }
static bool supports2DArrayTextures { get; }
static bool supports3DTextures { get; }
static bool supportsAccelerometer { get; }
static bool supportsAsyncGPUReadback { get; }
static bool supportsAudio { get; }
static bool supportsComputeShaders { get; }
static bool supportsCubemapArrayTextures { get; }
static bool supportsGyroscope { get; }
static bool supportsInstancing { get; }
static bool supportsLocationService { get; }
static bool supportsMotionVectors { get; }
static bool supportsMultisampledTextures { get; }
static bool supportsRenderTextures { get; }
static bool supportsShadows { get; }
static bool supportsVibration { get; }
static int systemMemorySize { get; }

Megabytes of memory the system has.

static bool usesReversedZBuffer { get; }

Methods 2

static bool SupportsRenderTextureFormat(RenderTextureFormat format)
static bool SupportsTextureFormat(TextureFormat format)

Not in Tassix yet 74

(constructor) GetCompatibleFormat GetGraphicsFormat GetRenderTextureSupportedMSAASampleCount GetTiledRenderTargetStorageSize IsFormatSupported SupportsBlendingOnRenderTextureFormat SupportsRandomWriteOnRenderTextureFormat SupportsTypedUAVShaderLoadStoreOnGraphicsFormat SupportsVertexAttributeFormat computeSubGroupSize constantBufferOffsetAlignment foveatedRenderingCaps hasDynamicUniformArrayIndexingInFragmentShaders hasMipMaxLevel hasTiledGPU hdrDisplaySupportFlags maxAnisotropyLevel maxComputeBufferInputsCompute maxComputeBufferInputsDomain maxComputeBufferInputsFragment maxComputeBufferInputsGeometry maxComputeBufferInputsHull maxComputeBufferInputsVertex maxComputeWorkGroupSize maxComputeWorkGroupSizeX maxComputeWorkGroupSizeY maxComputeWorkGroupSizeZ maxConstantBufferSize maxGraphicsBufferSize maxTexture3DSize maxTextureArraySlices maxTiledPixelStorageSize renderingThreadingMode supportedRandomWriteTargetCount supports32bitsIndexBuffer supports3DRenderTextures supportsAnisotropicFilter supportsAsyncCompute supportsCompressed3DTextures supportsConservativeRaster supportsDepthFetchInRenderPass supportsDynamicResolution supportsGeometryShaders supportsGpuRecorder supportsGraphicsFence supportsHardwareQuadTopology supportsIndirectArgumentsBuffer supportsIndirectDispatchRays supportsInlineRayTracing supportsMachineLearning supportsMemorylessTextures supportsMipStreaming supportsMultisampleAutoResolve supportsMultisampleResolveDepth supportsMultisampleResolveStencil supportsMultisampled2DArrayTextures supportsMultisampledBackBuffer supportsMultisampledShaderResolve supportsMultiview supportsParallelPSOCreation supportsRawShadowDepthSampling supportsRayTracing supportsRayTracingShaders supportsRenderTargetArrayIndexFromVertexShader supportsRendering supportsSeparatedRenderTargetsBlend supportsSetConstantBuffer supportsSparseTextures supportsStoreAndResolveAction supportsTessellationShaders supportsTextureWrapMirrorOnce supportsVariableRateShading usesLoadStoreActions

Checked against Unity

Conformance scenarios that exercise it, recorded in Unity and compared event by event.