{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class RenderingUtils | Universal RP | 15.0.4
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Class RenderingUtils

    Contains properties and helper functions that you can use when rendering.

    상속
    object
    RenderingUtils
    상속된 멤버
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    네임스페이스: UnityEngine.Rendering.Universal
    어셈블리: solution.dll
    구문
    public static class RenderingUtils

    메서드

    이름 설명
    CreateDrawingSettings(List<ShaderTagId>, ref RenderingData, SortingCriteria)

    Creates DrawingSettings based on current rendering state.

    CreateDrawingSettings(ShaderTagId, ref RenderingData, SortingCriteria)

    Creates DrawingSettings based on current the rendering state.

    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 UNITY_MATRIX_V, UNITY_MATRIX_P, UNITY_MATRIX_VP to given view and projection matrices. If setInverseMatrices is set to true this function will also set UNITY_MATRIX_I_V and UNITY_MATRIX_I_VP.

    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.

    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)