{!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} Method DrawFullScreen | High Definition RP | 10.5.0
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Method DrawFullScreen

    DrawFullScreen(CommandBuffer, Material, RTHandle, MaterialPropertyBlock, int)

    Draw a full screen triangle with a material. This will automatically set the viewport of the destination RTHandle based on the current camera parameters.

    선언
    public static void DrawFullScreen(CommandBuffer commandBuffer, Material material, RTHandle colorBuffer, MaterialPropertyBlock properties = null, int shaderPassId = 0)
    파라미터
    타입 이름 설명
    CommandBuffer commandBuffer

    Command Buffer used for rendering.

    Material material

    Material used for rendering.

    RTHandle colorBuffer

    Destination RTHandle.

    MaterialPropertyBlock properties

    Optional material property block.

    int shaderPassId

    Optional pass index to use.

    DrawFullScreen(CommandBuffer, Material, RTHandle, RTHandle, MaterialPropertyBlock, int)

    Draw a full screen triangle with a material. This will automatically set the viewport of the destination RTHandle based on the current camera parameters.

    선언
    public static void DrawFullScreen(CommandBuffer commandBuffer, Material material, RTHandle colorBuffer, RTHandle depthStencilBuffer, MaterialPropertyBlock properties = null, int shaderPassId = 0)
    파라미터
    타입 이름 설명
    CommandBuffer commandBuffer

    Command Buffer used for rendering.

    Material material

    Material used for rendering.

    RTHandle colorBuffer

    Destination RTHandle.

    RTHandle depthStencilBuffer

    Destination Depth Stencil RTHandle.

    MaterialPropertyBlock properties

    Optional material property block.

    int shaderPassId

    Optional pass index to use.

    DrawFullScreen(CommandBuffer, Material, RenderTargetIdentifier[], RTHandle, MaterialPropertyBlock, int)

    Draw a full screen triangle with a material. This will automatically set the viewport of the destination RTHandle based on the current camera parameters.

    선언
    public static void DrawFullScreen(CommandBuffer commandBuffer, Material material, RenderTargetIdentifier[] colorBuffers, RTHandle depthStencilBuffer, MaterialPropertyBlock properties = null, int shaderPassId = 0)
    파라미터
    타입 이름 설명
    CommandBuffer commandBuffer

    Command Buffer used for rendering.

    Material material

    Material used for rendering.

    RenderTargetIdentifier[] colorBuffers

    Array of RenderTargetIdentifier for multiple render target rendering.

    RTHandle depthStencilBuffer

    Destination Depth Stencil RTHandle.

    MaterialPropertyBlock properties

    Optional material property block.

    int shaderPassId

    Optional pass index to use.

    DrawFullScreen(CommandBuffer, Rect, Material, RenderTargetIdentifier, MaterialPropertyBlock, int, int)

    Draw a full screen triangle with a material. This will render into the destination texture with the specified viewport.

    선언
    public static void DrawFullScreen(CommandBuffer commandBuffer, Rect viewport, Material material, RenderTargetIdentifier destination, MaterialPropertyBlock properties = null, int shaderPassId = 0, int depthSlice = -1)
    파라미터
    타입 이름 설명
    CommandBuffer commandBuffer

    Command Buffer used for rendering.

    Rect viewport

    Destination viewport.

    Material material

    Material used for rendering.

    RenderTargetIdentifier destination

    Destination RenderTargetIdentifier.

    MaterialPropertyBlock properties

    Optional Material Property block.

    int shaderPassId

    Optional pass index to use.

    int depthSlice

    Optional depth slice to render to.

    DrawFullScreen(CommandBuffer, Rect, Material, RenderTargetIdentifier, RTHandle, MaterialPropertyBlock, int)

    Draw a full screen triangle with a material. This will render into the destination texture with the specified viewport.

    선언
    public static void DrawFullScreen(CommandBuffer commandBuffer, Rect viewport, Material material, RenderTargetIdentifier destination, RTHandle depthStencilBuffer, MaterialPropertyBlock properties = null, int shaderPassId = 0)
    파라미터
    타입 이름 설명
    CommandBuffer commandBuffer

    Command Buffer used for rendering.

    Rect viewport

    Destination viewport.

    Material material

    Material used for rendering.

    RenderTargetIdentifier destination

    Destination RenderTargetIdentifier.

    RTHandle depthStencilBuffer

    Destination Depth Stencil RTHandle.

    MaterialPropertyBlock properties

    Optional Material Property block.

    int shaderPassId

    Optional pass index to use.

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