docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetGlobalTexture

    SetGlobalTexture(string, TextureHandle)

    Wraps SetGlobalTexture on a CommandBuffer.

    Declaration
    public void SetGlobalTexture(string name, TextureHandle value)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    TextureHandle value

    See CommandBuffer documentation

    Implements
    IBaseCommandBuffer.SetGlobalTexture(string, TextureHandle)

    SetGlobalTexture(int, TextureHandle)

    Wraps SetGlobalTexture on a CommandBuffer.

    Declaration
    public void SetGlobalTexture(int nameID, TextureHandle value)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    TextureHandle value

    See CommandBuffer documentation

    Implements
    IBaseCommandBuffer.SetGlobalTexture(int, TextureHandle)

    SetGlobalTexture(string, TextureHandle, RenderTextureSubElement)

    Wraps SetGlobalTexture on a CommandBuffer.

    Declaration
    public void SetGlobalTexture(string name, TextureHandle value, RenderTextureSubElement element)
    Parameters
    Type Name Description
    string name

    See CommandBuffer documentation

    TextureHandle value

    See CommandBuffer documentation

    RenderTextureSubElement element

    See CommandBuffer documentation

    Implements
    IBaseCommandBuffer.SetGlobalTexture(string, TextureHandle, RenderTextureSubElement)

    SetGlobalTexture(int, TextureHandle, RenderTextureSubElement)

    Wraps SetGlobalTexture on a CommandBuffer.

    Declaration
    public void SetGlobalTexture(int nameID, TextureHandle value, RenderTextureSubElement element)
    Parameters
    Type Name Description
    int nameID

    See CommandBuffer documentation

    TextureHandle value

    See CommandBuffer documentation

    RenderTextureSubElement element

    See CommandBuffer documentation

    Implements
    IBaseCommandBuffer.SetGlobalTexture(int, TextureHandle, RenderTextureSubElement)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)