docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IterateState

    IterateState(int)

    Deterministically offsets a sampler's state. Note that ConstantSamplers do not have a state to iterate.

    Declaration
    public void IterateState(int offsetIndex)
    Parameters
    Type Name Description
    int offsetIndex

    The index used to offset the sampler's state. Typically set to either the current scenario iteration or a job's batch index.

    Implements
    ISampler.IterateState(int)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)