TSL: fix string and arrayBuffer#2124
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Thanks, I'm trying to write a test for this, but I get the following error: Can you provide some examples of how you're using the |
Thank you for your reply. This is indeed a good question. TBH, I make an node-editor app just warp It might be necessary for the author to explain how these two methods should be applied. Sorry, there was an error during the integration test. I only looked at the implementation of these two methods... // three.js/src/nodes/tsl/TSLCore.js#L1195-L1196
export const string = ( value = '' ) => new ConstNode( value, 'string' );
export const arrayBuffer = ( value ) => new ConstNode( value, 'ArrayBuffer' );This PR might contain something I'm not aware of. |
stringandarrayBuffercan work inr183three-ts-types/types/three/src/nodes/tsl/TSLCore.d.ts
Lines 1965 to 1966 in f149ddd
stringandarrayBuffercan not work inr184three-ts-types/types/three/src/nodes/tsl/TSLCore.d.ts
Lines 2357 to 2358 in cc0b6e9
Change PR: #2058