mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Make members of TextureSave class not struct, so python can modify them
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user