Class TextureConverter
Inheritance
TextureConverter
Syntax
public class TextureConverter : SyncModelConverter<SyncTexture, Texture2D>, IReflectNodeProcessor
Constructors
TextureConverter(EventHub, MemoryTracker, IOutput<SyncedData<Texture2D>>)
Declaration
public TextureConverter(EventHub hub, MemoryTracker memTracker, IOutput<SyncedData<Texture2D>> output)
Parameters
Methods
GetDestructor()
Declaration
protected override Action<Texture2D> GetDestructor()
Returns
Overrides
UnityEngine.Reflect.Pipeline.SyncModelConverter<SyncTexture, UnityEngine.Texture2D>.GetDestructor()
Import(SyncedData<SyncTexture>)
Declaration
protected override Texture2D Import(SyncedData<SyncTexture> syncTexture)
Parameters
Type |
Name |
Description |
SyncedData<SyncTexture> |
syncTexture |
|
Returns
Overrides
UnityEngine.Reflect.Pipeline.SyncModelConverter<SyncTexture, UnityEngine.Texture2D>.Import(Unity.Reflect.SyncedData<SyncTexture>)
ReImport(SyncedData<SyncTexture>, Texture2D)
Declaration
protected override void ReImport(SyncedData<SyncTexture> model, Texture2D obj)
Parameters
Overrides
UnityEngine.Reflect.Pipeline.SyncModelConverter<SyncTexture, UnityEngine.Texture2D>.ReImport(Unity.Reflect.SyncedData<SyncTexture>, UnityEngine.Texture2D)