Better asset processor selection, process subassets

This commit is contained in:
Simon Lübeß
2024-06-13 15:44:27 +02:00
parent 36e98311c6
commit cd434d64f9
22 changed files with 356 additions and 292 deletions
@@ -2,36 +2,10 @@
AssetLoader = null,
Config = null,
Importer = "TextureImporter",
ImporterConfig = (GlitchyEditor.Assets.Importers.TextureImporterConfig){
_isSrgb = false
},
Processor = "TextureProcessor",
ProcessorConfig = (GlitchyEditor.Assets.Processors.TextureProcessorConfig){
_generateMipMaps = .No,
_samplerStateDescription = {
MinFilter = .Linear,
MagFilter = .Linear,
MipFilter = .Linear,
FilterMode = .Default,
ComparisonFunction = .Never,
AddressModeU = .Clamp,
AddressModeV = .Clamp,
AddressModeW = .Clamp,
MipLODBias = 0,
MipMinLOD = -3.40282347e+38,
MipMaxLOD = 3.40282347e+38,
MaxAnisotropy = 1,
BorderColor = {
R = 1,
G = 1,
B = 1,
A = 1
}
}
},
Exporter = "TextureExporter",
ExporterConfig = {
_compression = .LZ4
},
AssetHandle = 17972970543152031508
ImporterConfig = null,
Processor = null,
ProcessorConfig = null,
Exporter = null,
ExporterConfig = null,
AssetHandle = 17408033053158961990
}
@@ -5,21 +5,21 @@
ImporterConfig = (GlitchyEditor.Assets.Importers.TextureImporterConfig){
_isSrgb = false
},
Processor = "TextureProcessor",
Processor = null,
ProcessorConfig = (GlitchyEditor.Assets.Processors.TextureProcessorConfig){
_generateMipMaps = .No,
_samplerStateDescription = {
MinFilter = .Point,
MagFilter = .Point,
MipFilter = .Point,
MinFilter = .Linear,
MagFilter = .Linear,
MipFilter = .Linear,
FilterMode = .Default,
ComparisonFunction = .Never,
AddressModeU = .Clamp,
AddressModeV = .Clamp,
AddressModeW = .Clamp,
MipLODBias = 0,
MipMinLOD = -3.40282347e+38,
MipMaxLOD = 3.40282347e+38,
MipMinLOD = -Infinity,
MipMaxLOD = Infinity,
MaxAnisotropy = 1,
BorderColor = {
R = 1,
@@ -27,11 +27,14 @@
B = 1,
A = 1
}
}
},
_textureType = .Texture,
_sprites = [
]
},
Exporter = "TextureExporter",
Exporter = null,
ExporterConfig = {
_compression = .None
},
AssetHandle = 8620184366354358183
AssetHandle = 6043007137039118289
}
@@ -5,7 +5,7 @@
ImporterConfig = (GlitchyEditor.Assets.Importers.TextureImporterConfig){
_isSrgb = false
},
Processor = "TextureProcessor",
Processor = null,
ProcessorConfig = (GlitchyEditor.Assets.Processors.TextureProcessorConfig){
_generateMipMaps = .No,
_samplerStateDescription = {
@@ -18,8 +18,8 @@
AddressModeV = .Clamp,
AddressModeW = .Clamp,
MipLODBias = 0,
MipMinLOD = -3.40282347e+38,
MipMaxLOD = 3.40282347e+38,
MipMinLOD = -Infinity,
MipMaxLOD = Infinity,
MaxAnisotropy = 1,
BorderColor = {
R = 1,
@@ -27,11 +27,14 @@
B = 1,
A = 1
}
}
},
_textureType = .Texture,
_sprites = [
]
},
Exporter = "TextureExporter",
Exporter = null,
ExporterConfig = {
_compression = .None
},
AssetHandle = 7647313657967374590
AssetHandle = 1772897904610089584
}