Make members of TextureSave class not struct, so python can modify them

This commit is contained in:
baldurk
2016-09-12 12:51:14 +02:00
parent f588a21e05
commit b493865349
+4 -3
View File
@@ -726,7 +726,8 @@ namespace renderdoc
public Int32 mip = -1;
public struct ComponentMapping
[StructLayout(LayoutKind.Sequential)]
public class ComponentMapping
{
public float blackPoint;
public float whitePoint;
@@ -736,7 +737,7 @@ namespace renderdoc
public ComponentMapping comp = new ComponentMapping();
[StructLayout(LayoutKind.Sequential)]
public struct SampleMapping
public class SampleMapping
{
public bool mapToArray;
@@ -746,7 +747,7 @@ namespace renderdoc
public SampleMapping sample = new SampleMapping();
[StructLayout(LayoutKind.Sequential)]
public struct SliceMapping
public class SliceMapping
{
public Int32 sliceIndex;