-
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update support for the class UTexture (and its related classes).
- Loading branch information
Showing
11 changed files
with
119 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
namespace UELib.Engine | ||
{ | ||
/// <summary> | ||
/// Implements UMaterial/Engine.Material | ||
/// </summary> | ||
[UnrealRegisterClass] | ||
public class UMaterial : UMaterialInterface | ||
{ | ||
protected override void Deserialize() | ||
{ | ||
base.Deserialize(); | ||
#if UNREAL2 | ||
if (Package.Build == UnrealPackage.GameBuild.BuildName.Unreal2) | ||
{ | ||
_Buffer.Read(out byte textureType); | ||
Record(nameof(textureType), textureType); | ||
} | ||
#endif | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using UELib.Branch; | ||
|
||
namespace UELib.Engine | ||
{ | ||
/// <summary> | ||
/// Implements UMaterialInterface/Engine.MaterialInterface | ||
/// </summary> | ||
[UnrealRegisterClass] | ||
[BuildGeneration(BuildGeneration.UE3)] | ||
public class UMaterialInterface : USurface | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using UELib.Branch; | ||
|
||
namespace UELib.Engine | ||
{ | ||
/// <summary> | ||
/// Implements URenderedMaterial/Engine.RenderedMaterial | ||
/// </summary> | ||
[UnrealRegisterClass] | ||
[BuildGenerationRange(BuildGeneration.UE1, BuildGeneration.UE2_5)] | ||
public class URenderedMaterial : UMaterial | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using UELib.Branch; | ||
using UELib.Core; | ||
|
||
namespace UELib.Engine | ||
{ | ||
/// <summary> | ||
/// Implements USurface/Engine.Surface | ||
/// </summary> | ||
[UnrealRegisterClass] | ||
[BuildGeneration(BuildGeneration.UE3)] | ||
public class USurface : UObject, IUnrealViewable | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters