This commit is contained in:
Razmoth
2023-05-06 09:46:35 +04:00
parent 85ab8eec3c
commit 8e0f97ce2d
34 changed files with 903 additions and 864 deletions

View File

@@ -19,6 +19,8 @@ namespace AssetStudio
public abstract class Renderer : Component
{
public static bool Parsable;
public PPtr<Material>[] m_Materials;
public StaticBatchInfo m_StaticBatchInfo;
public uint[] m_SubsetIndices;
@@ -218,7 +220,7 @@ namespace AssetStudio
var m_UseHighestMip = reader.ReadBoolean();
reader.AlignStream();
}
if (reader.Game.Type.IsSRCB3())
if (reader.Game.Type.IsSR())
{
var RenderFlag = reader.ReadUInt32();
reader.AlignStream();