Class RenderingUtils
Contains properties and helper functions that you can use when rendering.
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
[MovedFrom("UnityEngine.Rendering.LWRP")]
public static class RenderingUtils
프로퍼티
이름 | 설명 |
---|---|
fullscreenMesh | Returns a mesh that you can use with UnityEngine.Rendering.CommandBuffer.DrawMesh(UnityEngine.Mesh, UnityEngine.Matrix4x4, UnityEngine.Material) to render full-screen effects. |
메서드
이름 | 설명 |
---|---|
SetViewAndProjectionMatrices(CommandBuffer, Matrix4x4, Matrix4x4, bool) | Set view and projection matrices.
This function will set |
SupportsGraphicsFormat(GraphicsFormat, FormatUsage) | Checks if a texture format is supported by the run-time system. Similar to UnityEngine.SystemInfo.IsFormatSupported(UnityEngine.Experimental.Rendering.GraphicsFormat, UnityEngine.Experimental.Rendering.FormatUsage), but doesn't allocate memory. |
SupportsRenderTextureFormat(RenderTextureFormat) | Checks if a render texture format is supported by the run-time system. Similar to UnityEngine.SystemInfo.SupportsRenderTextureFormat(UnityEngine.RenderTextureFormat), but doesn't allocate memory. |