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 |