Class RenderingUtils
Contains properties and helper functions that you can use when rendering.
상속된 멤버
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
public static class RenderingUtils
메서드
이름 | 설명 |
---|---|
CreateDrawingSettings(List<ShaderTagId>, ref RenderingData, SortingCriteria) | Creates |
CreateDrawingSettings(ShaderTagId, ref RenderingData, SortingCriteria) | Creates |
ReAllocateIfNeeded(ref RTHandle, in RenderTextureDescriptor, FilterMode, TextureWrapMode, bool, int, float, string) | Re-allocate fixed-size RTHandle if it is not allocated or doesn't match the descriptor |
ReAllocateIfNeeded(ref RTHandle, ScaleFunc, in RenderTextureDescriptor, FilterMode, TextureWrapMode, bool, int, float, string) | Re-allocate dynamically resized RTHandle if it is not allocated or doesn't match the descriptor |
ReAllocateIfNeeded(ref RTHandle, Vector2, in RenderTextureDescriptor, FilterMode, TextureWrapMode, bool, int, float, string) | Re-allocate dynamically resized RTHandle if it is not allocated or doesn't match the descriptor |
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 SupportsRenderTextureFormat(RenderTextureFormat), but doesn't allocate memory. |