Updated UNDOCUMENTED
This commit is contained in:
@@ -3,16 +3,19 @@
|
||||
"type": "object",
|
||||
"title": "Material",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"additionalProperties": false,
|
||||
"definitions": {
|
||||
"DefinesSpecification": {
|
||||
"type": "array",
|
||||
"title": "Defines",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "Definition",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": [
|
||||
"ALLOW_FADE",
|
||||
"ALPHA_TEST",
|
||||
@@ -94,31 +97,47 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"FailOperation": { "type": "string", "title": "Fail Operation", "description": "UNDOCUMENTED", "enum": ["Keep", "Replace"] },
|
||||
"FailOperation": {
|
||||
"type": "string",
|
||||
"title": "Fail Operation",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["Keep", "Replace"]
|
||||
},
|
||||
"FaceSpecification": {
|
||||
"type": "object",
|
||||
"title": "Face",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"stencilDepthFailOp": {
|
||||
"type": "string",
|
||||
"title": "Stencil Depth Fail Operation",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"$ref": "#/definitions/FailOperation"
|
||||
},
|
||||
"stencilFailOp": {
|
||||
"type": "string",
|
||||
"title": "Stencil Fail Operation",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"$ref": "#/definitions/FailOperation"
|
||||
},
|
||||
"stencilFunc": { "type": "string", "title": "Stencil Function", "description": "UNDOCUMENTED", "enum": ["Always", "Equal", "NotEqual"] },
|
||||
"stencilPass": { "type": "string", "title": "Stencil Pass", "description": "UNDOCUMENTED", "enum": ["Replace"] },
|
||||
"stencilFunc": {
|
||||
"type": "string",
|
||||
"title": "Stencil Function",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["Always", "Equal", "NotEqual"]
|
||||
},
|
||||
"stencilPass": { "type": "string", "title": "Stencil Pass", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "enum": ["Replace"] },
|
||||
"stencilPassOp": {
|
||||
"type": "string",
|
||||
"title": "Stencil Depth Fail Operation",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"$ref": "#/definitions/FailOperation"
|
||||
}
|
||||
}
|
||||
@@ -127,10 +146,12 @@
|
||||
"type": "array",
|
||||
"title": "States",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "State",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": [
|
||||
"Blending",
|
||||
"DisableAlphaWrite",
|
||||
@@ -149,15 +170,29 @@
|
||||
"type": "array",
|
||||
"title": "Sampler States",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Sample State",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"samplerIndex": { "type": "integer", "title": "Sample State", "description": "UNDOCUMENTED" },
|
||||
"textureFilter": { "type": "string", "title": "Texture Filter", "description": "UNDOCUMENTED", "enum": ["Point", "Bilinear", "TexelAA"] },
|
||||
"textureWrap": { "type": "string", "title": "Texture Wrap", "description": "UNDOCUMENTED", "enum": ["Repeat", "Clamp"] }
|
||||
"samplerIndex": { "type": "integer", "title": "Sample State", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
||||
"textureFilter": {
|
||||
"type": "string",
|
||||
"title": "Texture Filter",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["Point", "Bilinear", "TexelAA"]
|
||||
},
|
||||
"textureWrap": {
|
||||
"type": "string",
|
||||
"title": "Texture Wrap",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["Repeat", "Clamp"]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -165,34 +200,49 @@
|
||||
"type": "array",
|
||||
"title": "Vertex Fields",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Vertex Field",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"additionalProperties": false,
|
||||
"properties": { "field": { "type": "string", "title": "Vertex Field", "description": "UNDOCUMENTED" } }
|
||||
"properties": { "field": { "type": "string", "title": "Vertex Field", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" } }
|
||||
}
|
||||
},
|
||||
"VariantSpecification": {
|
||||
"type": "array",
|
||||
"title": "Variants",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Variant",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"propertyNames": { "enum": ["fading", "fog", "fog.underwater", "lit", "skinning", "skinning_color", "underlava", "underwater"] },
|
||||
"additionalProperties": { "title": "Variant Item", "description": "UNDOCUMENTED", "$ref": "#/definitions/VariantsItemSpecificaiton" }
|
||||
"additionalProperties": {
|
||||
"title": "Variant Item",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"$ref": "#/definitions/VariantsItemSpecificaiton"
|
||||
}
|
||||
}
|
||||
},
|
||||
"VariantsItemSpecificaiton": {
|
||||
"type": "object",
|
||||
"title": "Variant Item",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"+defines": { "title": "Defines", "description": "UNDOCUMENTATED, Add definitions???", "$ref": "#/definitions/DefinesSpecification" },
|
||||
"vertexFields": { "title": "Vertex Fields", "description": "UNDOCUMENTED", "$ref": "#/definitions/VertexFieldsSpecification" },
|
||||
"vertexFields": {
|
||||
"title": "Vertex Fields",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"$ref": "#/definitions/VertexFieldsSpecification"
|
||||
},
|
||||
"states": { "title": "States", "description": "UNDOCUMENTATED, start states???", "$ref": "#/definitions/StatesSpecification" },
|
||||
"+states": { "title": "States", "description": "UNDOCUMENTATED, Add additional states???", "$ref": "#/definitions/StatesSpecification" },
|
||||
"-states": { "title": "States", "description": "UNDOCUMENTATED, remove additional states???", "$ref": "#/definitions/StatesSpecification" }
|
||||
@@ -204,25 +254,37 @@
|
||||
"type": "object",
|
||||
"title": "Materials",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"required": ["version"],
|
||||
"properties": { "version": { "type": "string", "const": "1.0.0", "title": "Version", "description": "UNDOCUMENTED" } },
|
||||
"properties": {
|
||||
"version": { "type": "string", "const": "1.0.0", "title": "Version", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" }
|
||||
},
|
||||
"additionalProperties": {
|
||||
"title": "Material Definitions",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"alphaDst": { "type": "string", "title": "Alpha Distance", "description": "UNDOCUMENTED", "enum": ["DestColor", "OneMinusSrcAlpha"] },
|
||||
"backFace": { "title": "Back Face", "description": "UNDOCUMENTED", "$ref": "#/definitions/FaceSpecification" },
|
||||
"alphaDst": {
|
||||
"type": "string",
|
||||
"title": "Alpha Distance",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["DestColor", "OneMinusSrcAlpha"]
|
||||
},
|
||||
"backFace": { "title": "Back Face", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED", "$ref": "#/definitions/FaceSpecification" },
|
||||
"blendDst": {
|
||||
"type": "string",
|
||||
"title": "Blend Distance",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["SourceAlpha", "OneMinusSrcAlpha", "OneMinusSrcColor", "SourceColor", "Zero", "One"]
|
||||
},
|
||||
"blendSrc": {
|
||||
"type": "string",
|
||||
"title": "Blend Source",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["DestColor", "One", "OneMinusDestColor", "SourceAlpha", "SourceColor"]
|
||||
},
|
||||
"defines": {
|
||||
@@ -232,18 +294,47 @@
|
||||
},
|
||||
"+defines": { "title": "Defines", "description": "UNDOCUMENTATED, Add definitions???", "$ref": "#/definitions/DefinesSpecification" },
|
||||
"-defines": { "title": "Defines", "description": "UNDOCUMENTATED, removes definitions???", "$ref": "#/definitions/DefinesSpecification" },
|
||||
"depthBias": { "type": "number", "title": "Depth Bias", "description": "UNDOCUMENTED" },
|
||||
"depthBiasOGL": { "type": "number", "title": "Depth Bias OGL", "description": "UNDOCUMENTED" },
|
||||
"depthFunc": { "type": "string", "title": "Depth Function", "description": "UNDOCUMENTED", "enum": ["LessEqual", "Always", "Equal"] },
|
||||
"fragmentShader": { "type": "string", "title": "Fragment Shader", "description": "UNDOCUMENTED", "pattern": "^shaders/.*\\.fragment$" },
|
||||
"frontFace": { "title": "Front Face", "description": "UNDOCUMENTED", "$ref": "#/definitions/FaceSpecification" },
|
||||
"depthBias": { "type": "number", "title": "Depth Bias", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
||||
"depthBiasOGL": { "type": "number", "title": "Depth Bias OGL", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
||||
"depthFunc": {
|
||||
"type": "string",
|
||||
"title": "Depth Function",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["LessEqual", "Always", "Equal"]
|
||||
},
|
||||
"fragmentShader": {
|
||||
"type": "string",
|
||||
"title": "Fragment Shader",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"pattern": "^shaders/.*\\.fragment$"
|
||||
},
|
||||
"frontFace": {
|
||||
"title": "Front Face",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"$ref": "#/definitions/FaceSpecification"
|
||||
},
|
||||
"isAnimatedTexture": {
|
||||
"type": "integer",
|
||||
"title": "Is Animated Texture",
|
||||
"description": "UNDOCUMENTATED, think its a boolean value as a number, so 1 and 0????"
|
||||
},
|
||||
"msaaSupport": { "type": "string", "title": "MSAA Support", "description": "UNDOCUMENTED", "enum": ["Both", "MSAA"] },
|
||||
"primitiveMode": { "type": "string", "title": "Primitive Mode", "description": "UNDOCUMENTED", "enum": ["Line"] },
|
||||
"msaaSupport": {
|
||||
"type": "string",
|
||||
"title": "MSAA Support",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["Both", "MSAA"]
|
||||
},
|
||||
"primitiveMode": {
|
||||
"type": "string",
|
||||
"title": "Primitive Mode",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"enum": ["Line"]
|
||||
},
|
||||
"samplerStates": {
|
||||
"title": "Sampler States",
|
||||
"description": "UNDOCUMENTATED, set or start samplerStates???",
|
||||
@@ -254,23 +345,40 @@
|
||||
"description": "UNDOCUMENTATED, Add samplerStates???",
|
||||
"$ref": "#/definitions/SamplerStatesSpecification"
|
||||
},
|
||||
"slopeScaledDepthBias": { "type": "number", "title": "Slope Scaled Depth Bias", "description": "UNDOCUMENTED" },
|
||||
"slopeScaledDepthBiasOGL": { "type": "number", "title": "Slope Scaled Depth Bias OGL", "description": "UNDOCUMENTED" },
|
||||
"slopeScaledDepthBias": { "type": "number", "title": "Slope Scaled Depth Bias", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
||||
"slopeScaledDepthBiasOGL": {
|
||||
"type": "number",
|
||||
"title": "Slope Scaled Depth Bias OGL",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
},
|
||||
"states": { "title": "States", "description": "UNDOCUMENTATED, start states???", "$ref": "#/definitions/StatesSpecification" },
|
||||
"+states": { "title": "States", "description": "UNDOCUMENTATED, Add additional states???", "$ref": "#/definitions/StatesSpecification" },
|
||||
"-states": { "title": "States", "description": "UNDOCUMENTATED, remove additional states???", "$ref": "#/definitions/StatesSpecification" },
|
||||
"stencilRef": { "type": "integer", "title": "Stencil Ref", "description": "UNDOCUMENTED" },
|
||||
"stencilRefOverride": { "type": "integer", "title": "Stencil Ref Override", "description": "UNDOCUMENTED" },
|
||||
"stencilReadMask": { "type": "integer", "title": "Stencil Read Mask", "description": "UNDOCUMENTED" },
|
||||
"stencilWriteMask": { "type": "integer", "title": "Stencil Write Mask", "description": "UNDOCUMENTED" },
|
||||
"stencilRef": { "type": "integer", "title": "Stencil Ref", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
||||
"stencilRefOverride": { "type": "integer", "title": "Stencil Ref Override", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
||||
"stencilReadMask": { "type": "integer", "title": "Stencil Read Mask", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
||||
"stencilWriteMask": { "type": "integer", "title": "Stencil Write Mask", "description": "UNDOCUMENTED", "$comment": "UNDOCUMENTED" },
|
||||
"variants": { "title": "Variants", "description": "UNDOCUMENTATED, sets the variants?", "$ref": "#/definitions/VariantSpecification" },
|
||||
"+variants": { "title": "Variants", "description": "UNDOCUMENTATED, adds variants?", "$ref": "#/definitions/VariantSpecification" },
|
||||
"vertexFields": { "title": "Vertex Fields", "description": "UNDOCUMENTED", "$ref": "#/definitions/VertexFieldsSpecification" },
|
||||
"vertexShader": { "type": "string", "title": "Vertex Shader", "description": "UNDOCUMENTED", "pattern": "^shaders/.*\\.vertex$" },
|
||||
"vertexFields": {
|
||||
"title": "Vertex Fields",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"$ref": "#/definitions/VertexFieldsSpecification"
|
||||
},
|
||||
"vertexShader": {
|
||||
"type": "string",
|
||||
"title": "Vertex Shader",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"pattern": "^shaders/.*\\.vertex$"
|
||||
},
|
||||
"vrGeometryShader": {
|
||||
"type": "string",
|
||||
"title": "VR Geometry Shader",
|
||||
"description": "UNDOCUMENTED",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"pattern": "^shaders/.*\\.geometry$"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user