티스토리 뷰
여기서 봤는데, 너무 간결한데 쏙쏙 이해가 잘되게 쓰셨다..!! 감동.. 🥺
Creating a device
A Metal device (MTLDevice) is the interface to the GPU. It supports methods for creating objects such as function libraries and textures.
Creating a library
The library (MTLLibrary) is a repository of kernel functions (in our case, compute shaders) that are typically compiled into your application by Xcode.
Creating a Command Queue
The command queue (MTLCommandQueue) is the object that queues and submits commands to the device for execution.
Creating a Metal Function
Once the library is instantiated, we can create a function object (MTLFunction) from it. This represents a single Metal shader.
Creating a Pipeline State
The pipeline state takes the Metal function and compiles it for the device to execute.
Creating a Command Buffer
The command buffer (MTLCommandBuffer) stores the encoded commands that will be committed to the device for execution.
Creating a Command Encoder
Creating the command encoder (MTLCommandEncoder) is the final step and it is responsible for encoding the commands and resources into byte code that can be written into the command buffer.
[Reference]
www.skilled.io/u/flexmonkey/introducing-image-processing-in-metal
Introducing Image Processing in Metal
Harnessing the power of Metal for image processing.
www.skilled.io
www.invasivecode.com/weblog/metal-image-processing
'🍏 > Metal' 카테고리의 다른 글
[Metal] 샘플러에 대해 알아보자 (MTLSamplerState, MTLSamplerDescriptor) (0) | 2020.06.18 |
---|---|
[Metal] Using a Render Pipeline to Render Primitives 정리 (2) | 2020.06.17 |
[Metal] Using Metal to Draw a View’s Contents 정리 (0) | 2020.06.16 |
[Metal] Performing Calculations on a GPU 정리 (0) | 2020.06.15 |
- Total
- Today
- Yesterday
- Sketch 누끼
- flutter build mode
- ipad multitasking
- PencilKit
- cocoapod
- Flutter Spacer
- Django Firebase Cloud Messaging
- Watch App for iOS App vs Watch App
- flutter dynamic link
- Python Type Hint
- flutter 앱 출시
- Flutter 로딩
- flutter deep link
- Dart Factory
- METAL
- DRF APIException
- ribs
- Django Heroku Scheduler
- 플러터 얼럿
- SerializerMethodField
- 구글 Geocoding API
- github actions
- drf custom error
- 장고 URL querystring
- Flutter Text Gradient
- Flutter Clipboard
- Django FCM
- 장고 Custom Management Command
- Flutter getter setter
- 플러터 싱글톤
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |