-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAssetTypeTexture.xsd
More file actions
51 lines (46 loc) · 2.4 KB
/
AssetTypeTexture.xsd
File metadata and controls
51 lines (46 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="uri:ea.com:eala:asset" xmlns:at="uri:ea.com:eala:asset:type" xmlns:xas="uri:ea.com:eala:asset:schema" targetNamespace="uri:ea.com:eala:asset" elementFormDefault="qualified" xmlns:XmlEdit="http://tempuri.org/XmlEdit.xsd">
<xs:simpleType name="TextureType">
<xs:restriction base="xs:string">
<xs:enumeration value="StandardTexture" />
<xs:enumeration value="VolumeTexture" />
<xs:enumeration value="CubeTexture" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TextureOutputFormatType">
<xs:restriction base="xs:string">
<xs:enumeration value="DXT1" />
<xs:enumeration value="DXT1A" />
<xs:enumeration value="DXT3" />
<xs:enumeration value="DXT5" />
<xs:enumeration value="A8R8G8B8" />
<xs:enumeration value="X8R8G8B8" />
<xs:enumeration value="R5G6B5" />
<!-- Note, R8G8B8 isnt supported so this format must be used. -->
</xs:restriction>
</xs:simpleType>
<xs:complexType name="Texture" xas:runtimeWrapper="RNA::TextureC" xas:typeGroup="Texture">
<xs:complexContent>
<xs:extension base="BaseAssetType">
<xs:sequence />
<xs:attribute name="File" type="FileReference" />
<xs:attribute name="Type" type="TextureType" default="StandardTexture" xas:pipelineOnly="true" />
<xs:attribute name="GenerateMipMaps" type="SageBool" default="true" xas:pipelineOnly="true" />
<xs:attribute name="OutputFormat" type="TextureOutputFormatType" default="DXT1" xas:pipelineOnly="true" />
<xs:attribute name="AllowAutomaticResize" type="SageBool" default="true" xas:pipelineOnly="true" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="OnDemandTexture" xas:runtimeWrapper="::Texture::OnDemandLoader" xas:typeGroup="Texture">
<xs:complexContent>
<xs:extension base="BaseAssetType">
<xs:sequence />
<xs:attribute name="File" type="FileReference" xas:pipelineOnly="true" />
<xs:attribute name="Type" type="TextureType" default="StandardTexture" />
<xs:attribute name="GenerateMipMaps" type="SageBool" default="true" xas:pipelineOnly="true" />
<xs:attribute name="OutputFormat" type="TextureOutputFormatType" default="DXT1" xas:pipelineOnly="true" />
<xs:attribute name="AllowAutomaticResize" type="SageBool" default="true" xas:pipelineOnly="true" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>