Metal의 Color Attachment란?
원본글 링크 (https://stackoverflow.com/questions/44118942/what-is-colorattachmentn-in-metal) Color Attachment는 Rendering Pass에서 일시적으로 렌더링된 이미지가 저장되는 공간을 말한다. 일반적으로는 하나의 Color Attachment를 사용하므로 0번 인덱스만 사용하는 경우가 많다. 또한 동시에 여러 개의 Color Attachment를 가질 수도 있다. 그렇기 때문에 배열로서 존재하는 것이다. 여러 개의 Attachment를 사용하는 것은 고급 기술로서, 앰비언트 오클루전과 같은 기술을 사용할 수 있다. 메탈에서 colorAttachment를 볼 수 있는 곳이 두 군데 있다. MTLRenderPipelineDesc..
Graphics
2019. 5. 26. 01:44