Post

Replies

Boosts

Views

Activity

Comment on MTLRenderCommandEncoder's setfragmenttexture does not update texture.
one more thing my app is Xamarin based that links a static library written in c++,objective-c code so when I attach my Xamarin app process with Xcode then GPU capture frame feature is disabled . GPU frame capture only works when app is written in Xcode only not in xamarin using visual studio Mac . I really want to see GPU frame for my Xamarin app so please tell me any other way or any other tool for it.
Mar ’22
Comment on MTLRenderCommandEncoder's setfragmenttexture does not update texture.
Thanks for reply. anyway I found the issue in my code and fixed then after it is working fine. issue was that I am having single vertex buffer for my 7 rects and I was setting vertex offset for each rect because I know from where my rect's vertex data start in vertex buffer. same offset setting I am doing for index buffer of the 7 rects while calling drawindexedprimitives. when I removed offset setting in vertex buffer and always set it to 0 then it worked correctly.
Mar ’22