Struct Image2DMemorySource | Project Tiny | 0.21.0-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Image2DMemorySource

    Memory backed cpu image data. This component is incompatible with Image2DLoadFromFile. It contains raw rgba data that must match the size and flags in the Image2D header. This component is intended for uploading cpu generated textures. This memory is NOT released after texture uploads because it can not easily be re-created. However, it can be manually removed and rendering will still work until a device reset happens.

    Namespace: Unity.Tiny
    Syntax
    public struct Image2DMemorySource : IBufferElementData

    Fields

    c

    Declaration
    public byte c
    Field Value
    Type Description
    Byte
    Back to top
    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