File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Assets/CustomTextureRenderer/Runtime Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1616namespace UnityCustomTextureRenderer
1717{
1818 /// <summary>
19- /// A graphics utility to update textures from native plugins.
19+ /// A high performance graphics utility to update textures from native plugins. <br/>
2020 /// The function for updating textures runs on another thread.
2121 /// </summary>
2222 public sealed class NonBlockingCustomTextureRenderer : IDisposable
@@ -70,7 +70,8 @@ public sealed class NonBlockingCustomTextureRenderer : IDisposable
7070#endif
7171
7272 /// <summary>
73- /// The UpdateRawTextureDataFunction runs on another thread.
73+ /// The UpdateRawTextureDataFunction runs on another thread. <br/>
74+ /// Asynchronous GPU upload (partial data copy) reduces the processing time per frame in the main thread for large size textures.
7475 /// </summary>
7576 /// <param name="updateRawTextureDataFunction"></param>
7677 /// <param name="targetTexture"></param>
@@ -87,7 +88,7 @@ public NonBlockingCustomTextureRenderer(UpdateRawTextureDataFunction updateRawTe
8788 if ( ! SystemInfo . supportsComputeShaders )
8889 {
8990 _disposed = true ;
90- DebugLogError ( $ "[{ nameof ( NonBlockingCustomTextureRenderer ) } ] Compute shaders are not supported in this device .") ;
91+ DebugLogError ( $ "[{ nameof ( NonBlockingCustomTextureRenderer ) } ] Current device does not support compute shaders .") ;
9192 return ;
9293 }
9394
You can’t perform that action at this time.
0 commit comments