Skip to content

Commit c6ee970

Browse files
committed
Update NonBlockingCustomTextureRenderer
1 parent 9da53cf commit c6ee970

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Assets/CustomTextureRenderer/Runtime/NonBlockingCustomTextureRenderer.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
namespace 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

0 commit comments

Comments
 (0)