Why Nostr? What is Njump?
2023-12-21 17:38:32

Jot Kailay on Nostr: npub1u24tf…532pl Thanks for awesome metal SwiftUI tutorial For the loupe the ...



Thanks for awesome metal SwiftUI tutorial

For the loupe the variable list is:
loupe( float2 pos, SwiftUI::Layer layer, etc )

But then at 38:36 for the call you use:
ShaderLibrary.loupe(
.float2(proxy.size),
.float2(offset)) // !!
, etc

Which gives “No exact match in call to static method ‘float2’” error

Shouldn’t the layer be passed in somehow as that parameter?
Author Public Key
npub16pjl3unhskqu390hqcdzfks50c5wtszg3ug0mc85tdkyn66pjhmqre4d0c