mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Pass through base mip/level for vulkan resources (also for GL textures)
This commit is contained in:
@@ -132,6 +132,7 @@ namespace renderdoc
|
||||
{
|
||||
public ResourceId Resource;
|
||||
public UInt32 FirstSlice;
|
||||
public UInt32 HighestMip;
|
||||
public ShaderResourceType ResType;
|
||||
[CustomMarshalAs(CustomUnmanagedType.FixedArray, FixedLength = 4)]
|
||||
public TextureSwizzle[] Swizzle;
|
||||
|
||||
@@ -56,6 +56,9 @@ namespace renderdoc
|
||||
public ResourceId res;
|
||||
public ResourceId sampler;
|
||||
|
||||
public UInt32 baseMip;
|
||||
public UInt32 baseLayer;
|
||||
|
||||
public UInt64 offset;
|
||||
public UInt64 size;
|
||||
|
||||
@@ -348,6 +351,9 @@ namespace renderdoc
|
||||
{
|
||||
public ResourceId view;
|
||||
public ResourceId img;
|
||||
|
||||
public UInt32 baseMip;
|
||||
public UInt32 baseArray;
|
||||
};
|
||||
[CustomMarshalAs(CustomUnmanagedType.TemplatedArray)]
|
||||
public Attachment[] attachments;
|
||||
|
||||
Reference in New Issue
Block a user