Struct Image2DMemorySource | Project Tiny | 0.31.0-preview.24
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX
    on 06 November 2020