scripts
This commit is contained in:
@@ -0,0 +1,147 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using UnityEngine.Experimental.Rendering;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace UnityEngine.Rendering
|
||||
{
|
||||
// Token: 0x020000AB RID: 171
|
||||
public sealed class GraphicsSettings : Object
|
||||
{
|
||||
// Token: 0x06000C55 RID: 3157
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public static extern void SetShaderMode(BuiltinShaderType type, BuiltinShaderMode mode);
|
||||
|
||||
// Token: 0x06000C56 RID: 3158
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public static extern BuiltinShaderMode GetShaderMode(BuiltinShaderType type);
|
||||
|
||||
// Token: 0x170002CD RID: 717
|
||||
// (get) Token: 0x06000C57 RID: 3159 RVA: 0x0001158C File Offset: 0x0000F78C
|
||||
// (set) Token: 0x06000C58 RID: 3160 RVA: 0x000115AC File Offset: 0x0000F7AC
|
||||
public static RenderPipelineAsset renderPipelineAsset
|
||||
{
|
||||
get
|
||||
{
|
||||
return GraphicsSettings.INTERNAL_renderPipelineAsset as RenderPipelineAsset;
|
||||
}
|
||||
set
|
||||
{
|
||||
GraphicsSettings.INTERNAL_renderPipelineAsset = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002CE RID: 718
|
||||
// (get) Token: 0x06000C59 RID: 3161
|
||||
// (set) Token: 0x06000C5A RID: 3162
|
||||
private static extern ScriptableObject INTERNAL_renderPipelineAsset
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x06000C5B RID: 3163
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public static extern void SetCustomShader(BuiltinShaderType type, Shader shader);
|
||||
|
||||
// Token: 0x06000C5C RID: 3164
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
public static extern Shader GetCustomShader(BuiltinShaderType type);
|
||||
|
||||
// Token: 0x06000C5D RID: 3165
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
internal static extern Object GetGraphicsSettings();
|
||||
|
||||
// Token: 0x170002CF RID: 719
|
||||
// (get) Token: 0x06000C5E RID: 3166
|
||||
// (set) Token: 0x06000C5F RID: 3167
|
||||
public static extern TransparencySortMode transparencySortMode
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170002D0 RID: 720
|
||||
// (get) Token: 0x06000C60 RID: 3168 RVA: 0x000115B8 File Offset: 0x0000F7B8
|
||||
// (set) Token: 0x06000C61 RID: 3169 RVA: 0x000115D8 File Offset: 0x0000F7D8
|
||||
public static Vector3 transparencySortAxis
|
||||
{
|
||||
get
|
||||
{
|
||||
Vector3 vector;
|
||||
GraphicsSettings.INTERNAL_get_transparencySortAxis(out vector);
|
||||
return vector;
|
||||
}
|
||||
set
|
||||
{
|
||||
GraphicsSettings.INTERNAL_set_transparencySortAxis(ref value);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000C62 RID: 3170
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void INTERNAL_get_transparencySortAxis(out Vector3 value);
|
||||
|
||||
// Token: 0x06000C63 RID: 3171
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern void INTERNAL_set_transparencySortAxis(ref Vector3 value);
|
||||
|
||||
// Token: 0x170002D1 RID: 721
|
||||
// (get) Token: 0x06000C64 RID: 3172
|
||||
// (set) Token: 0x06000C65 RID: 3173
|
||||
public static extern bool lightsUseLinearIntensity
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x170002D2 RID: 722
|
||||
// (get) Token: 0x06000C66 RID: 3174
|
||||
// (set) Token: 0x06000C67 RID: 3175
|
||||
public static extern bool lightsUseColorTemperature
|
||||
{
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
get;
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
set;
|
||||
}
|
||||
|
||||
// Token: 0x06000C68 RID: 3176
|
||||
[GeneratedByOldBindingsGenerator]
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
private static extern bool HasShaderDefineImpl(GraphicsTier tier, BuiltinShaderDefine defineHash);
|
||||
|
||||
// Token: 0x06000C69 RID: 3177 RVA: 0x000115E4 File Offset: 0x0000F7E4
|
||||
public static bool HasShaderDefine(GraphicsTier tier, BuiltinShaderDefine defineHash)
|
||||
{
|
||||
return GraphicsSettings.HasShaderDefineImpl(tier, defineHash);
|
||||
}
|
||||
|
||||
// Token: 0x06000C6A RID: 3178 RVA: 0x00011600 File Offset: 0x0000F800
|
||||
public static bool HasShaderDefine(BuiltinShaderDefine defineHash)
|
||||
{
|
||||
return GraphicsSettings.HasShaderDefine(Graphics.activeTier, defineHash);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user