티스토리 뷰
let texture = renderView.currentDrawable?.texture
https://stackoverflow.com/questions/33844130/take-a-snapshot-of-current-screen-with-metal-in-swift
'iOS > Metal' 카테고리의 다른 글
Metal: MTLTexture to CIImage 변경 시 rgb값 그대로 가져오기 (0) | 2022.01.06 |
---|---|
Metal: MTKView 해상도 변경하기 (0) | 2022.01.06 |
Issue: [CIImage initWithMTLTexture:options:] texture type must include MTLTextureUsageShaderRead. (0) | 2022.01.06 |
Metal: Metal로 카메라 렌더링하기 요약 (0) | 2022.01.06 |
Issue: CVMetalTextureCacheCreateTextureFromImage returns -6660 (0) | 2022.01.06 |