28 lines
815 B
C#
28 lines
815 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02000036 RID: 54
|
|
[Token(Token = "0x2000036")]
|
|
[StructLayout(3)]
|
|
public static class TextureExt
|
|
{
|
|
// Token: 0x06000116 RID: 278 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000116")]
|
|
[Address(RVA = "0x3246A30", Offset = "0x3245430", VA = "0x183246A30")]
|
|
public static void ConvertPixelsToGamma(this Texture2D texture)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000117 RID: 279 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x6000117")]
|
|
[Address(RVA = "0x3246B40", Offset = "0x3245540", VA = "0x183246B40")]
|
|
public static void GetTexture2D(this RenderTexture frame, ref Texture2D texture, bool cropSidesToSquare = false, bool convertToGamma = false)
|
|
{
|
|
}
|
|
}
|
|
}
|