docs.unity3d.com
    Show / Hide Table of Contents

    Class BlueNoise

    A bank of pre-generated blue noise textures.

    Inheritance
    Object
    BlueNoise
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public sealed class BlueNoise

    Properties

    textureArray16L

    A TextureArray containing all the single channel (luminance only) 16x16 textures.

    Declaration
    public Texture2DArray textureArray16L { get; }
    Property Value
    Type Description
    Texture2DArray

    textureArray16RGB

    A TextureArray containing all the multi-channel (red, green, blue) 16x16 textures.

    Declaration
    public Texture2DArray textureArray16RGB { get; }
    Property Value
    Type Description
    Texture2DArray

    textures16L

    Single channel (luminance only) 16x16 textures.

    Declaration
    public Texture2D[] textures16L { get; }
    Property Value
    Type Description
    Texture2D[]

    textures16RGB

    Multi-channel (red, gree, blue) 16x16 textures.

    Declaration
    public Texture2D[] textures16RGB { get; }
    Property Value
    Type Description
    Texture2D[]

    Methods

    Cleanup()

    Cleanups up internal textures. This method should be called before disposing of this instance.

    Declaration
    public void Cleanup()

    GetRandom16L()

    Returns a random, single channel (luminance only) 16x16 blue noise texture.

    Declaration
    public Texture2D GetRandom16L()
    Returns
    Type Description
    Texture2D

    A single channel (luminance only) 16x16 blue noise texture.

    GetRandom16RGB()

    Returns a random, multi-channel (red, green blue) 16x16 blue noise texture.

    Declaration
    public Texture2D GetRandom16RGB()
    Returns
    Type Description
    Texture2D

    A multi-channel (red, green blue) 16x16 blue noise texture.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023