mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-07 21:01:27 +00:00
Pass through base mip/level for vulkan resources (also for GL textures)
This commit is contained in:
1 parent
534f9943f9
commit
ebb9f05c75
8 files changed
+41
-4
No files matched your search
@@ -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