Add GetPixels and SetPixels to TextureBase for easier textures data editing

This commit is contained in:
Wojciech Figat
2021-11-09 16:27:23 +01:00
parent e34d3285c2
commit dbdeddcd26
4 changed files with 406 additions and 0 deletions

View File

@@ -84,6 +84,7 @@ public class Graphics : EngineModule
default: throw new InvalidPlatformException(options.Platform.Target);
}
options.PrivateDependencies.Add("TextureTool");
if (options.Target.IsEditor)
{
options.PublicDependencies.Add("ModelTool");