forked from MattRix/UnityDecompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFrameDebuggerUtility.cs
More file actions
70 lines (70 loc) · 2.25 KB
/
Copy pathFrameDebuggerUtility.cs
File metadata and controls
70 lines (70 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
using System;
using System.Runtime.CompilerServices;
using UnityEngine;
namespace UnityEditorInternal
{
internal sealed class FrameDebuggerUtility
{
public static extern bool enabled
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
public static extern int count
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
public static extern int limit
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
set;
}
public static extern int eventsHash
{
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
get;
}
public static void SetRenderTargetDisplayOptions(int rtIndex, Vector4 channels, float blackLevel, float whiteLevel)
{
FrameDebuggerUtility.INTERNAL_CALL_SetRenderTargetDisplayOptions(rtIndex, ref channels, blackLevel, whiteLevel);
}
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern void INTERNAL_CALL_SetRenderTargetDisplayOptions(int rtIndex, ref Vector4 channels, float blackLevel, float whiteLevel);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern FrameDebuggerEvent[] GetFrameEvents();
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern string GetFrameEventInfoName(int index);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern string GetFrameEventShaderKeywords(int index);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern int GetFrameEventShaderID(int index);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern int GetFrameEventShaderPassIndex(int index);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern int GetFrameEventRendererID(int index);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern int GetFrameEventMeshID(int index);
[WrapperlessIcall]
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern int GetFrameEventMeshSubset(int index);
}
}