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

    목차 표시/숨기기

    Method ReAllocateIfNeeded

    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

    선언
    public static bool ReAllocateIfNeeded(ref RTHandle handle, in RenderTextureDescriptor descriptor, FilterMode filterMode = FilterMode.Point, TextureWrapMode wrapMode = TextureWrapMode.Repeat, bool isShadowMap = false, int anisoLevel = 1, float mipMapBias = 0, string name = "")
    파라미터
    타입 이름 설명
    RTHandle handle

    RTHandle to check (can be null)

    RenderTextureDescriptor descriptor

    Descriptor for the RTHandle to match

    FilterMode filterMode

    Filtering mode of the RTHandle.

    TextureWrapMode wrapMode

    Addressing mode of the RTHandle.

    bool isShadowMap

    Set to true if the depth buffer should be used as a shadow map.

    int anisoLevel

    Anisotropic filtering level.

    float mipMapBias

    Bias applied to mipmaps during filtering.

    string name

    Name of the RTHandle.

    반환
    타입 설명
    bool

    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

    선언
    public static bool ReAllocateIfNeeded(ref RTHandle handle, Vector2 scaleFactor, in RenderTextureDescriptor descriptor, FilterMode filterMode = FilterMode.Point, TextureWrapMode wrapMode = TextureWrapMode.Repeat, bool isShadowMap = false, int anisoLevel = 1, float mipMapBias = 0, string name = "")
    파라미터
    타입 이름 설명
    RTHandle handle

    RTHandle to check (can be null)

    Vector2 scaleFactor

    Constant scale for the RTHandle size computation.

    RenderTextureDescriptor descriptor

    Descriptor for the RTHandle to match

    FilterMode filterMode

    Filtering mode of the RTHandle.

    TextureWrapMode wrapMode

    Addressing mode of the RTHandle.

    bool isShadowMap

    Set to true if the depth buffer should be used as a shadow map.

    int anisoLevel

    Anisotropic filtering level.

    float mipMapBias

    Bias applied to mipmaps during filtering.

    string name

    Name of the RTHandle.

    반환
    타입 설명
    bool

    If the RTHandle should be re-allocated

    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

    선언
    public static bool ReAllocateIfNeeded(ref RTHandle handle, ScaleFunc scaleFunc, in RenderTextureDescriptor descriptor, FilterMode filterMode = FilterMode.Point, TextureWrapMode wrapMode = TextureWrapMode.Repeat, bool isShadowMap = false, int anisoLevel = 1, float mipMapBias = 0, string name = "")
    파라미터
    타입 이름 설명
    RTHandle handle

    RTHandle to check (can be null)

    ScaleFunc scaleFunc

    Function used for the RTHandle size computation.

    RenderTextureDescriptor descriptor

    Descriptor for the RTHandle to match

    FilterMode filterMode

    Filtering mode of the RTHandle.

    TextureWrapMode wrapMode

    Addressing mode of the RTHandle.

    bool isShadowMap

    Set to true if the depth buffer should be used as a shadow map.

    int anisoLevel

    Anisotropic filtering level.

    float mipMapBias

    Bias applied to mipmaps during filtering.

    string name

    Name of the RTHandle.

    반환
    타입 설명
    bool

    If an allocation was done

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