Post

Replies

Boosts

Views

Activity

Reply to How to release the texture from CVMetalTextureCacheCreateTextureFromImage created?
Add more info here is the code of CVPixelBuffer    let attributes : [NSObject:AnyObject] = [    kCVPixelBufferCGImageCompatibilityKey : true as AnyObject,    kCVPixelBufferCGBitmapContextCompatibilityKey : true as AnyObject,    kCVPixelBufferIOSurfacePropertiesKey: [     "IOSurfaceOpenGLESFBOCompatibility": true,     "IOSurfaceOpenGLESTextureCompatibility": true,     "IOSurfaceCoreAnimationCompatibility": true     ] as AnyObject   ]       CVPixelBufferCreate(kCFAllocatorDefault,             Int(width), Int(height),             kCVPixelFormatType_420YpCbCr8BiPlanarFullRange,             attributes as CFDictionary,             &pixelBuffer)
Topic: Graphics & Games SubTopic: General Tags:
Sep ’22
Reply to How to release the texture from CVMetalTextureCacheCreateTextureFromImage created?
Add more info here is the code of CVPixelBuffer    let attributes : [NSObject:AnyObject] = [    kCVPixelBufferCGImageCompatibilityKey : true as AnyObject,    kCVPixelBufferCGBitmapContextCompatibilityKey : true as AnyObject,    kCVPixelBufferIOSurfacePropertiesKey: [     "IOSurfaceOpenGLESFBOCompatibility": true,     "IOSurfaceOpenGLESTextureCompatibility": true,     "IOSurfaceCoreAnimationCompatibility": true     ] as AnyObject   ]       CVPixelBufferCreate(kCFAllocatorDefault,             Int(width), Int(height),             kCVPixelFormatType_420YpCbCr8BiPlanarFullRange,             attributes as CFDictionary,             &pixelBuffer)
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’22
Reply to Stepping into functions using GPUTrace
Hey, have you solved the problem yet?
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to How to debug non-return or compute function?
How to debug a void vertex function?
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Nov ’21
Reply to How to debug non-return or compute function?
For Example: vertex void computeNormal(uint vertexID [[vertex_id]], ... ) { ... } I can't debug such as this function, because it don't return any vertex output just a void function.
Topic: Graphics & Games SubTopic: Metal Tags:
Replies
Boosts
Views
Activity
Nov ’21