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

    목차 표시/숨기기

    Method EncodeFastCubemap

    EncodeFastCubemap(CommandBuffer, RenderTargetIdentifier, int, RenderTargetIdentifier, int, int, int)

    Encode a Cubemap in BC6H.

    It will encode all faces and selected mips of the Cubemap.

    It uses only mode 11 of BC6H.

    선언
    public void EncodeFastCubemap(CommandBuffer cmb, RenderTargetIdentifier source, int sourceSize, RenderTargetIdentifier target, int fromMip, int toMip, int targetArrayIndex = 0)
    파라미터
    타입 이름 설명
    CommandBuffer cmb

    Command buffer for execution

    RenderTargetIdentifier source

    The source Cubemap

    int sourceSize

    The size of the source Cubemap

    RenderTargetIdentifier target

    The compressed texture. It must be a BC6H Cubemap or Cubemap array with the same size as the source Cubemap

    int fromMip

    Starting mip to encode

    int toMip

    Last mip to encode

    int targetArrayIndex

    The index of the cubemap to store the compressed texture.

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