목록Graphics/Metal (3)
나만의 공부 노트
Rendering pipeline 1. Vertex Fetch DirectX : Input Assembler라고 함 Scheduler라는 하드웨어가 vertices와 attributes를 다음 단계로 전송해줌 2. Vertex Processing 1 Graphics Command Processor: This coordinates the work processes. 4 Shader Engines (SE): An SE is an organizational unit on the GPU that can serve an entire pipeline. Each SE has a geometry processor, a rasterizer and Compute Units. 쉐이더 하나만 사용 가능 9 Compute Un..
.obj http://paulbourke.net/dataformats/obj/ Object Files (.obj) Object Files (.obj) Minimal example: box.obj Minimal textured example Vertex colour in OBJ files Object files define the geometry and other properties for objects in Wavefront's Advanced Visualizer. Object files can also be used to transfer geometric data paulbourke.net s : smoothing group = 엔진? 마다 지원 여부가 다름 Smoothing Groups are a t..
기본 구조 모듈 import Metal 가장 Low 레벨의 Metal 모듈 그래픽스 API를 가지고 있다. import MetalKit Metal을 유용하게 쓸 수 있도록 도와주는 유틸리티 모듈 Metal, Model I/O 모듈을 가지고 있음 Model I/O의 경우, MetalKit, GLKit, SceneKit 등에서 통합해서 사용할 수 있는 모델 로드 모듈 Metal 디바이스 guard let device = MTLCreateSystemDefaultDevice() else { fatalError("GPU is not supported") } iOS, watchOS 등은 GPU를 하나만 사용하므로 위의 API를 통해 기본 GPU를 얻어올 수 있다. let devices = MTLCopyAllDevi..