All Questions
2 questions
2
votes
2
answers
3k
views
Getting error message "[CAMetalLayerDrawable texture] should not be called after already presenting this drawable. Get a nextDrawable instead."
I just need to render multiple objects simultaneously. But I am getting an error as mention. Here I am passing multiple objects to my render func.
var sceneObject:Array<Node> = [objectToDraw,...
1
vote
1
answer
1k
views
MTLTexture from MTLBuffer issue
I have results of compute shader stored in MTLBuffer. Each element of MTLBuffer is a UInt16. I am trying to pass the results to a fragment shader that displays the result by interpreting the elements ...