DirectXResource

A GPU resource

DesktopOperating SystemUWPWin32Windows

Properties

Name Type Description
id string
resourceType string
dimension string
width integer
height integer
depthOrArraySize integer
format string
heapType string
View JSON Schema on GitHub

JSON Schema

microsoft-windows-10-directxresource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DirectXResource",
  "title": "DirectXResource",
  "type": "object",
  "description": "A GPU resource",
  "properties": {
    "id": {
      "type": "string"
    },
    "resourceType": {
      "type": "string",
      "enum": [
        "Buffer",
        "Texture1D",
        "Texture2D",
        "Texture3D"
      ]
    },
    "dimension": {
      "type": "string"
    },
    "width": {
      "type": "integer"
    },
    "height": {
      "type": "integer"
    },
    "depthOrArraySize": {
      "type": "integer"
    },
    "format": {
      "type": "string"
    },
    "heapType": {
      "type": "string",
      "enum": [
        "Default",
        "Upload",
        "Readback"
      ]
    }
  }
}