using System.Collections.Generic ;
using System.Collections.Generic ;
using UnityEngine.Rendering ;
namespace UnityEngine.Experimental.Rendering
public static int maxHeight { get { return s_DefaultInstance . maxHeight ; } }
public static RTHandleSystem . RTHandle Alloc (
int width ,
int height ,
int slices = 1 ,
DepthBits depthBufferBits = DepthBits . None ,
RenderTextureFormat colorFormat = RenderTextureFormat . Default ,
FilterMode filterMode = FilterMode . Point ,
TextureWrapMode wrapMode = TextureWrapMode . Repeat ,
TextureDimension dimension = TextureDimension . Tex2D ,
bool sRGB = true ,
bool enableRandomWrite = false ,
bool useMipMap = false ,
bool autoGenerateMips = true ,
int anisoLevel = 1 ,
float mipMapBias = 0 ,
MSAASamples msaaSamples = MSAASamples . None ,
bool bindTextureMS = false ,
bool useDynamicScale = false ,
VRTextureUsage vrUsage = VRTextureUsage . None ,
RenderTextureMemoryless memoryless = RenderTextureMemoryless . None ,
int width ,
int height ,
int slices = 1 ,
DepthBits depthBufferBits = DepthBits . None ,
RenderTextureFormat colorFormat = RenderTextureFormat . Default ,
FilterMode filterMode = FilterMode . Point ,
TextureWrapMode wrapMode = TextureWrapMode . Repeat ,
TextureDimension dimension = TextureDimension . Tex2D ,
bool sRGB = true ,
bool enableRandomWrite = false ,
bool useMipMap = false ,
bool autoGenerateMips = true ,
int anisoLevel = 1 ,
float mipMapBias = 0 ,
MSAASamples msaaSamples = MSAASamples . None ,
bool bindTextureMS = false ,
bool useDynamicScale = false ,
VRTextureUsage vrUsage = VRTextureUsage . None ,
RenderTextureMemoryless memoryless = RenderTextureMemoryless . None ,
string name = ""
)
{
}
public static RTHandleSystem . RTHandle Alloc (
Vector2 scaleFactor ,
DepthBits depthBufferBits = DepthBits . None ,
RenderTextureFormat colorFormat = RenderTextureFormat . Default ,
FilterMode filterMode = FilterMode . Point ,
TextureWrapMode wrapMode = TextureWrapMode . Repeat ,
TextureDimension dimension = TextureDimension . Tex2D ,
bool sRGB = true ,
bool enableRandomWrite = false ,
bool useMipMap = false ,
bool autoGenerateMips = true ,
int anisoLevel = 1 ,
float mipMapBias = 0 ,
bool enableMSAA = false ,
bool bindTextureMS = false ,
bool useDynamicScale = false ,
VRTextureUsage vrUsage = VRTextureUsage . None ,
RenderTextureMemoryless memoryless = RenderTextureMemoryless . None ,
Vector2 scaleFactor ,
int slices = 1 ,
DepthBits depthBufferBits = DepthBits . None ,
RenderTextureFormat colorFormat = RenderTextureFormat . Default ,
FilterMode filterMode = FilterMode . Point ,
TextureWrapMode wrapMode = TextureWrapMode . Repeat ,
TextureDimension dimension = TextureDimension . Tex2D ,
bool sRGB = true ,
bool enableRandomWrite = false ,
bool useMipMap = false ,
bool autoGenerateMips = true ,
int anisoLevel = 1 ,
float mipMapBias = 0 ,
bool enableMSAA = false ,
bool bindTextureMS = false ,
bool useDynamicScale = false ,
VRTextureUsage vrUsage = VRTextureUsage . None ,
RenderTextureMemoryless memoryless = RenderTextureMemoryless . None ,
slices ,
depthBufferBits ,
colorFormat ,
filterMode ,
}
public static RTHandleSystem . RTHandle Alloc (
ScaleFunc scaleFunc ,
DepthBits depthBufferBits = DepthBits . None ,
RenderTextureFormat colorFormat = RenderTextureFormat . Default ,
FilterMode filterMode = FilterMode . Point ,
TextureWrapMode wrapMode = TextureWrapMode . Repeat ,
TextureDimension dimension = TextureDimension . Tex2D ,
bool sRGB = true ,
bool enableRandomWrite = false ,
ScaleFunc scaleFunc ,
int slices = 1 ,
DepthBits depthBufferBits = DepthBits . None ,
RenderTextureFormat colorFormat = RenderTextureFormat . Default ,
FilterMode filterMode = FilterMode . Point ,
TextureWrapMode wrapMode = TextureWrapMode . Repeat ,
TextureDimension dimension = TextureDimension . Tex2D ,
bool sRGB = true ,
bool enableRandomWrite = false ,
bool autoGenerateMips = true ,
int anisoLevel = 1 ,
float mipMapBias = 0 ,
bool enableMSAA = false ,
bool bindTextureMS = false ,
bool useDynamicScale = false ,
VRTextureUsage vrUsage = VRTextureUsage . None ,
RenderTextureMemoryless memoryless = RenderTextureMemoryless . None ,
bool autoGenerateMips = true ,
int anisoLevel = 1 ,
float mipMapBias = 0 ,
bool enableMSAA = false ,
bool bindTextureMS = false ,
bool useDynamicScale = false ,
VRTextureUsage vrUsage = VRTextureUsage . None ,
RenderTextureMemoryless memoryless = RenderTextureMemoryless . None ,
slices ,
depthBufferBits ,
colorFormat ,
filterMode ,
}
public static void Initialize (
int width ,
int height ,
bool scaledRTsupportsMSAA ,
int width ,
int height ,
bool scaledRTsupportsMSAA ,
MSAASamples scaledRTMSAASamples
)
{
}
public static void ResetReferenceSize (
int width ,
int height ,
bool msaa ,
int width ,
int height ,
bool msaa ,
MSAASamples msaaSamples
)
{
}
public static void SetReferenceSize (
int width ,
int height ,
bool msaa ,
int width ,
int height ,
bool msaa ,
MSAASamples msaaSamples
)
{