Hello,
in the execute() function I’m checking for the input format and display an error if different than expected, however it seems once the error has been displayed, even with the correct input format the only way to get rid of the error is to unload and reload the plugin.
This plugin : GitHub - vinz9/CudaSortTOP: TouchDesigner TOP wrapper for Cuda Thrust sort_by_key function
Code in CudaSortTOP.cpp
if (topInput->pixelFormat != GL_RGBA16F && topInput->pixelFormat != GL_RGBA32F) {
myError = "Input Texture must be 16-bit float (RGBA) or 32-bit float (RGBA).";
return;
}
See this video : topInputformat.mp4 - Google Drive
(created with included sample Toe)
Let me know if you can reproduce, thank you!