terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ ValidateRenderTextureDesc()

static void UnityEngine.RenderTexture.ValidateRenderTextureDesc ( RenderTextureDescriptor desc)
inlinestaticprivate

Definition at line 259 of file RenderTexture.cs.

260 {
261 if (desc._graphicsFormat != GraphicsFormat.None)
262 {
263 throw new MissingMethodException();
264 }
265 GraphicsFormat <depthStencilFormat>k__BackingField = desc.<depthStencilFormat>k__BackingField;
266 if (<depthStencilFormat>k__BackingField != GraphicsFormat.None)
267 {
268 bool flag = GraphicsFormatUtility.IsDepthFormat(<depthStencilFormat>k__BackingField);
270 int <height>k__BackingField = desc.<height>k__BackingField;
271 int <volumeDepth>k__BackingField = desc.<volumeDepth>k__BackingField;
272 int <msaaSamples>k__BackingField = desc.<msaaSamples>k__BackingField;
273 TextureDimension <dimension>k__BackingField = desc.<dimension>k__BackingField;
274 GraphicsFormat graphicsFormat = desc._graphicsFormat;
275 if (<dimension>k__BackingField == TextureDimension.None)
276 {
277 }
279 GraphicsFormat graphicsFormat2 = desc._graphicsFormat;
280 if (<dimension>k__BackingField == TextureDimension.None)
281 {
282 }
284 return;
285 }
286 }
class f__AnonymousType0<< Count > j__TPar
GraphicsFormat graphicsFormat
GraphicsFormat depthStencilFormat

References UnityEngine.RenderTexture.depthStencilFormat, UnityEngine.RenderTexture.graphicsFormat, UnityEngine.RenderTexture.height, UnityEngine.Experimental.Rendering.GraphicsFormatUtility.IsDepthFormat(), UnityEngine.Experimental.Rendering.GraphicsFormatUtility.IsStencilFormat(), and j__TPar.

Referenced by UnityEngine.RenderTexture.RenderTexture().