Astra Unity 2.6.6
Astra Unity Plugin
|
A simplified job when processing a single texture More...
Public Member Functions | |
override TextureJobStatus | GetError () |
When the job is complete this function can be called by the developer to access the error data set which can be of any type (defined as T2). This needs to be defined if your derived class as an override. More... | |
override TextureJobResult | GetResult () |
When the job is complete this function can be called by the developer to access the result data set which can be of any type (defined as T1). This needs to be defined if your derived class as an override. More... | |
Public Member Functions inherited from Astra.ApiJobWithResult< TextureJobResult, TextureJobStatus > | |
IEnumerator | AsCoroutine (Action< float > progress=null, Action< T1 > onComplete=null, Action< T2 > onFailed=null) |
Wraps a job to be used within a coroutine More... | |
Public Attributes | |
TextureJobStatus | status = TextureJobStatus.Failed |
TextureJobResult | result = new TextureJobResult() |
A simplified job when processing a single texture
|
inlinevirtual |
When the job is complete this function can be called by the developer to access the error data set which can be of any type (defined as T2). This needs to be defined if your derived class as an override.
Implements Astra.ApiJobWithResult< TextureJobResult, TextureJobStatus >.
|
inlinevirtual |
When the job is complete this function can be called by the developer to access the result data set which can be of any type (defined as T1). This needs to be defined if your derived class as an override.
Implements Astra.ApiJobWithResult< TextureJobResult, TextureJobStatus >.