{!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 UniversalRenderer | Universal RP | 15.0.4
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Class UniversalRenderer

    Default renderer for Universal RP. This renderer is supported on all Universal RP supported platforms. It uses a classic forward rendering strategy with per-object light culling.

    상속
    object
    ScriptableRenderer
    UniversalRenderer
    구현
    IDisposable
    상속된 멤버
    ScriptableRenderer.SupportsCameraStackingType(CameraRenderType)
    ScriptableRenderer.SetCameraMatrices(CommandBuffer, ref CameraData, bool)
    ScriptableRenderer.cameraColorTargetHandle
    ScriptableRenderer.cameraDepthTargetHandle
    ScriptableRenderer.supportedRenderingFeatures
    ScriptableRenderer.unsupportedGraphicsDeviceTypes
    ScriptableRenderer.Dispose()
    ScriptableRenderer.ConfigureCameraTarget(RTHandle, RTHandle)
    ScriptableRenderer.Execute(ScriptableRenderContext, ref RenderingData)
    ScriptableRenderer.EnqueuePass(ScriptableRenderPass)
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    네임스페이스: UnityEngine.Rendering.Universal
    어셈블리: solution.dll
    구문
    public sealed class UniversalRenderer : ScriptableRenderer, IDisposable

    생성자

    이름 설명
    UniversalRenderer(UniversalRendererData)

    Constructor for the Universal Renderer.

    프로퍼티

    이름 설명
    activeColorTexture

    Returns the current active color target texture. To be referenced at RenderGraph pass recording time, not in passes render functions.

    activeDepthTexture

    Returns the current active depth target texture. To be referenced at RenderGraph pass recording time, not in passes render functions.

    depthPrimingMode

    Property to control the depth priming behavior of the forward rendering path.

    isActiveTargetBackBuffer

    True if the current active target is the backbuffer. To be referenced at RenderGraph pass recording time, not in passes render functions.

    메서드

    이름 설명
    CreateRenderGraphTexture(RenderGraph, RenderTextureDescriptor, string, bool, FilterMode, TextureWrapMode)

    Utility method to convert RenderTextureDescriptor to TextureHandle and create a RenderGraph texture

    Dispose(bool)

    Called by Dispose(). Override this function to clean up resources in your renderer.

    FinishRendering(CommandBuffer)

    Called upon finishing rendering the camera stack. You can release any resources created by the renderer here.

    Setup(ScriptableRenderContext, ref RenderingData)

    Configures the render passes that will execute for this renderer. This method is called per-camera every frame.

    SetupCullingParameters(ref ScriptableCullingParameters, ref CameraData)

    Override this method to configure the culling parameters for the renderer. You can use this to configure if lights should be culled per-object or the maximum shadow distance for example.

    SetupLights(ScriptableRenderContext, ref RenderingData)

    Override this method to implement the lighting setup for the renderer. You can use this to compute and upload light CBUFFER for example.

    SupportedCameraStackingTypes()

    This setting controls if the camera editor should display the camera stack category. If your renderer is not supporting stacking this one should return 0. For the UI to show the Camera Stack widget this must support CameraRenderType.Base. CameraRenderType

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