Post not yet marked as solved
How could I have both pan gesture recognizing (NSPanGestureRecognizer) and mouse capturing (CGAssociateMouseAndMouseCursorPosition(false)) working together?
Is it possible at all?
Post not yet marked as solved
Hi,
In Xcode 13.3.1 frame capture, how do I know which buffer is referring to?
Thanks
Hi,
Maybe I'm doing something wrong, but form MSL 2.4 spec, sample_compare should return either 0 or 1.
I'm on a MBP 16 M1 Pro, Monterey 12.3.1 and Xcode 13.3.1.
Now, I'm receiving a value in between. Coordinates, sampler etc.. seems correct:
shadow = 0.125:
Sorry, in the image is not seen, but "i == 0" and shadow_map is a texture with four slices.
Thanks
Hi
What's the standard/recommended way to set the MTKView's drawableSize to a size lower than the view/window and, at the same time, be able to update the drawableSize whenever the app's window is resized?
Thanks
Post not yet marked as solved
Hi,
MacOS version: 12.2.1
Xcode version: 13.2.1
I'm using MTKView and setting a drawableSize = 1024,768 and autoResizeDrawable = NO, however, drawableSizeWillChange() is being called on app startup, just once, and never again, with a different drawableSize.
Maybe it has to do with incorrect drawable size?
Thanks