docs.unity.cn
    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 Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 18 October 2021