Skip to content

Instantly share code, notes, and snippets.

@mrcarriere
Last active May 29, 2024 10:10
Show Gist options
  • Save mrcarriere/049596740fb52907edf68712d2818df0 to your computer and use it in GitHub Desktop.
Save mrcarriere/049596740fb52907edf68712d2818df0 to your computer and use it in GitHub Desktop.
iPhone 14 Pro & Pro Max Device Definitions
{
"friendlyName": "Apple iPhone 14 Pro Max",
"version": 1,
"screens": [
{
"width": 1290,
"height": 2796,
"navigationBarHeight": 0,
"dpi": 460.0,
"orientations": [
{
"orientation": 1,
"safeArea": {
"serializedVersion": "2",
"x": 0.0,
"y": 102.0,
"width": 1290.0,
"height": 2517.0
}
},
{
"orientation": 2,
"safeArea": {
"serializedVersion": "2",
"x": 0.0,
"y": 177.0,
"width": 1290.0,
"height": 2517.0
}
},
{
"orientation": 3,
"safeArea": {
"serializedVersion": "2",
"x": 177.0,
"y": 63.0,
"width": 2442.0,
"height": 1227.0
}
},
{
"orientation": 4,
"safeArea": {
"serializedVersion": "2",
"x": 177.0,
"y": 63.0,
"width": 2442.0,
"height": 1227.0
}
}
],
"presentation": {
"overlayPath": "Overlays/iPhone 14 Pro Max.png",
"borderSize": {
"x": 80.0,
"y": 72.0,
"z": 80.0,
"w": 70.0
}
}
}
],
"systemInfo": {
"deviceModel": "iPhone15,3",
"deviceType": 1,
"operatingSystem": "iOS 12.0",
"operatingSystemFamily": 0,
"processorCount": 6,
"processorFrequency": 0,
"processorType": "arm64e",
"supportsAccelerometer": true,
"supportsAudio": true,
"supportsGyroscope": true,
"supportsLocationService": true,
"supportsVibration": true,
"systemMemorySize": 2813,
"unsupportedIdentifier": "n/a",
"graphicsDependentData": [
{
"graphicsDeviceType": 16,
"graphicsMemorySize": 1024,
"graphicsDeviceName": "Apple A12 GPU",
"graphicsDeviceVendor": "Apple",
"graphicsDeviceID": 0,
"graphicsDeviceVendorID": 0,
"graphicsUVStartsAtTop": true,
"graphicsDeviceVersion": "Metal",
"graphicsShaderLevel": 50,
"graphicsMultiThreaded": true,
"renderingThreadingMode": 0,
"hasHiddenSurfaceRemovalOnGPU": true,
"hasDynamicUniformArrayIndexingInFragmentShaders": true,
"supportsShadows": true,
"supportsRawShadowDepthSampling": true,
"supportsMotionVectors": true,
"supports3DTextures": true,
"supports2DArrayTextures": true,
"supports3DRenderTextures": true,
"supportsCubemapArrayTextures": true,
"copyTextureSupport": 31,
"supportsComputeShaders": true,
"supportsGeometryShaders": false,
"supportsTessellationShaders": true,
"supportsInstancing": true,
"supportsHardwareQuadTopology": false,
"supports32bitsIndexBuffer": true,
"supportsSparseTextures": false,
"supportedRenderTargetCount": 8,
"supportsSeparatedRenderTargetsBlend": true,
"supportedRandomWriteTargetCount": 8,
"supportsMultisampledTextures": 1,
"supportsMultisampleAutoResolve": false,
"supportsTextureWrapMirrorOnce": 0,
"usesReversedZBuffer": true,
"npotSupport": 2,
"maxTextureSize": 16384,
"maxCubemapSize": 16384,
"maxComputeBufferInputsVertex": 8,
"maxComputeBufferInputsFragment": 8,
"maxComputeBufferInputsGeometry": 0,
"maxComputeBufferInputsDomain": 8,
"maxComputeBufferInputsHull": 8,
"maxComputeBufferInputsCompute": 8,
"maxComputeWorkGroupSize": 1024,
"maxComputeWorkGroupSizeX": 1024,
"maxComputeWorkGroupSizeY": 1024,
"maxComputeWorkGroupSizeZ": 1024,
"supportsAsyncCompute": false,
"supportsGraphicsFence": true,
"supportsAsyncGPUReadback": true,
"supportsRayTracing": false,
"supportsSetConstantBuffer": true,
"hasMipMaxLevel": true,
"supportsMipStreaming": true,
"usesLoadStoreActions": true,
"supportedTextureFormats": [1, 2, 3, 4, 5],
"supportedRenderTextureFormats": [1, 2, 3, 4, 5],
"ldrGraphicsFormat": 59,
"hdrGraphicsFormat": 74
}
]
}
}
{
"friendlyName": "Apple iPhone 14 Pro",
"version": 1,
"screens": [
{
"width": 1179,
"height": 2556,
"navigationBarHeight": 0,
"dpi": 460.0,
"orientations": [
{
"orientation": 1,
"safeArea": {
"serializedVersion": "2",
"x": 0.0,
"y": 102.0,
"width": 1179.0,
"height": 2277.0
}
},
{
"orientation": 2,
"safeArea": {
"serializedVersion": "2",
"x": 0.0,
"y": 177.0,
"width": 1179.0,
"height": 2277.0
}
},
{
"orientation": 3,
"safeArea": {
"serializedVersion": "2",
"x": 177.0,
"y": 63.0,
"width": 2202.0,
"height": 1116.0
}
},
{
"orientation": 4,
"safeArea": {
"serializedVersion": "2",
"x": 177.0,
"y": 63.0,
"width": 2202.0,
"height": 1116.0
}
}
],
"presentation": {
"overlayPath": "Overlays/iPhone 14 Pro.png",
"borderSize": {
"x": 80.0,
"y": 80.0,
"z": 80.0,
"w": 80.0
}
}
}
],
"systemInfo": {
"deviceModel": "iPhone15,2",
"deviceType": 1,
"operatingSystem": "iOS 12.0",
"operatingSystemFamily": 0,
"processorCount": 6,
"processorFrequency": 0,
"processorType": "arm64e",
"supportsAccelerometer": true,
"supportsAudio": true,
"supportsGyroscope": true,
"supportsLocationService": true,
"supportsVibration": true,
"systemMemorySize": 2813,
"unsupportedIdentifier": "n/a",
"graphicsDependentData": [
{
"graphicsDeviceType": 16,
"graphicsMemorySize": 1024,
"graphicsDeviceName": "Apple A12 GPU",
"graphicsDeviceVendor": "Apple",
"graphicsDeviceID": 0,
"graphicsDeviceVendorID": 0,
"graphicsUVStartsAtTop": true,
"graphicsDeviceVersion": "Metal",
"graphicsShaderLevel": 50,
"graphicsMultiThreaded": true,
"renderingThreadingMode": 0,
"hasHiddenSurfaceRemovalOnGPU": true,
"hasDynamicUniformArrayIndexingInFragmentShaders": true,
"supportsShadows": true,
"supportsRawShadowDepthSampling": true,
"supportsMotionVectors": true,
"supports3DTextures": true,
"supports2DArrayTextures": true,
"supports3DRenderTextures": true,
"supportsCubemapArrayTextures": true,
"copyTextureSupport": 31,
"supportsComputeShaders": true,
"supportsGeometryShaders": false,
"supportsTessellationShaders": true,
"supportsInstancing": true,
"supportsHardwareQuadTopology": false,
"supports32bitsIndexBuffer": true,
"supportsSparseTextures": false,
"supportedRenderTargetCount": 8,
"supportsSeparatedRenderTargetsBlend": true,
"supportedRandomWriteTargetCount": 8,
"supportsMultisampledTextures": 1,
"supportsMultisampleAutoResolve": false,
"supportsTextureWrapMirrorOnce": 0,
"usesReversedZBuffer": true,
"npotSupport": 2,
"maxTextureSize": 16384,
"maxCubemapSize": 16384,
"maxComputeBufferInputsVertex": 8,
"maxComputeBufferInputsFragment": 8,
"maxComputeBufferInputsGeometry": 0,
"maxComputeBufferInputsDomain": 8,
"maxComputeBufferInputsHull": 8,
"maxComputeBufferInputsCompute": 8,
"maxComputeWorkGroupSize": 1024,
"maxComputeWorkGroupSizeX": 1024,
"maxComputeWorkGroupSizeY": 1024,
"maxComputeWorkGroupSizeZ": 1024,
"supportsAsyncCompute": false,
"supportsGraphicsFence": true,
"supportsAsyncGPUReadback": true,
"supportsRayTracing": false,
"supportsSetConstantBuffer": true,
"hasMipMaxLevel": true,
"supportsMipStreaming": true,
"usesLoadStoreActions": true,
"supportedTextureFormats": [1, 2, 3, 4, 5],
"supportedRenderTextureFormats": [1, 2, 3, 4, 5],
"ldrGraphicsFormat": 59,
"hdrGraphicsFormat": 74
}
]
}
}
@xahon
Copy link

xahon commented May 1, 2024

15's are the same as 14's AFAIK. Le 1 mai 2024 à 10:40 +0200, xahon @.***>, a écrit :

@xahon commented on this gist. Add 15's, please — Reply to this email directly, view it on GitHub or unsubscribe. You are receiving this email because you commented on the thread. Triage notifications on the go with GitHub Mobile for iOS or Android.

Yeah, really, misread that. Thank you

@BlindsidedGames
Copy link

Thanks a bunch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment