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

    목차 표시/숨기기

    Method BlitCameraTexture

    BlitCameraTexture(CommandBuffer, RTHandle, RTHandle, float, bool)

    Blit a RTHandle to another RTHandle. This will properly account for partial usage (in term of resolution) of the texture for the current viewport.

    선언
    public static void BlitCameraTexture(CommandBuffer cmd, RTHandle source, RTHandle destination, float mipLevel = 0, bool bilinear = false)
    파라미터
    타입 이름 설명
    CommandBuffer cmd

    Command Buffer used for rendering.

    RTHandle source

    Source RTHandle.

    RTHandle destination

    Destination RTHandle.

    float mipLevel

    Mip level to blit.

    bool bilinear

    Enable bilinear filtering.

    BlitCameraTexture(CommandBuffer, RTHandle, RTHandle, Material, int)

    Blit a RTHandle to another RTHandle. This will properly account for partial usage (in term of resolution) of the texture for the current viewport. This overloads allows the user to override the default blit shader

    선언
    public static void BlitCameraTexture(CommandBuffer cmd, RTHandle source, RTHandle destination, Material material, int pass)
    파라미터
    타입 이름 설명
    CommandBuffer cmd

    Command Buffer used for rendering.

    RTHandle source

    Source RTHandle.

    RTHandle destination

    Destination RTHandle.

    Material material

    The material to use when blitting

    int pass

    pass to use of the provided material

    BlitCameraTexture(CommandBuffer, RTHandle, RTHandle, Vector4, float, bool)

    Blit a RTHandle to another RTHandle. This will properly account for partial usage (in term of resolution) of the texture for the current viewport. This overload allows user to override the scale and bias used when sampling the input RTHandle.

    선언
    public static void BlitCameraTexture(CommandBuffer cmd, RTHandle source, RTHandle destination, Vector4 scaleBias, float mipLevel = 0, bool bilinear = false)
    파라미터
    타입 이름 설명
    CommandBuffer cmd

    Command Buffer used for rendering.

    RTHandle source

    Source RTHandle.

    RTHandle destination

    Destination RTHandle.

    Vector4 scaleBias

    Scale and bias used to sample the input RTHandle.

    float mipLevel

    Mip level to blit.

    bool bilinear

    Enable bilinear filtering.

    BlitCameraTexture(CommandBuffer, RTHandle, RTHandle, Rect, float, bool)

    Blit a RTHandle to another RTHandle. This will properly account for partial usage (in term of resolution) of the texture for the current viewport. This overload allows user to override the viewport of the destination RTHandle.

    선언
    public static void BlitCameraTexture(CommandBuffer cmd, RTHandle source, RTHandle destination, Rect destViewport, float mipLevel = 0, bool bilinear = false)
    파라미터
    타입 이름 설명
    CommandBuffer cmd

    Command Buffer used for rendering.

    RTHandle source

    Source RTHandle.

    RTHandle destination

    Destination RTHandle.

    Rect destViewport

    Viewport of the destination RTHandle.

    float mipLevel

    Mip level to blit.

    bool bilinear

    Enable bilinear filtering.

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