{!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 AddMatrixUpload | Entities Graphics | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddMatrixUpload

    AddMatrixUpload(void*, int, int, MatrixType, MatrixType)

    Adds a new pending matrix upload operation to execute when you call SparseUploader.EndAndCommit.

    Declaration
    public void AddMatrixUpload(void* src, int numMatrices, int offset, ThreadedSparseUploader.MatrixType srcType, ThreadedSparseUploader.MatrixType dstType)
    Parameters
    Type Name Description
    void* src

    A pointer to a memory area that contains matrices of the type specified by srcType.

    int numMatrices

    The number of matrices to upload.

    int offset

    The destination offset of the copy part of the upload operation.

    ThreadedSparseUploader.MatrixType srcType

    The source matrix format.

    ThreadedSparseUploader.MatrixType dstType

    The destination matrix format.

    Remarks

    When this operation executes, the SparseUploader copies data from the source pointer.

    In This Article
    Back to top
    Copyright © 2023 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)