Visual Studio
[Vulkan] Primary Command Buffer vs Secondary Command Buffer 본문
Primary Command Buffer
- Queue에 직접 제출할 수 있다.
- 여러개의 Secondary Command Buffer를 호출할 수 있다.
- Seconary Command Buffer와 달리 Render Pass 내부에서 호출되어야 한다는 제약이 없다.
Secondary Command Buffer
- Queue에 직접 제출할 수 없다.
- Render Pass 내부에서만 호출될 수 있다.
- Primary Command Buffer에서 Secondary Command Buffer를 호출하여 간접적으로 Queue에 제출할 수 있다.
- 다른 Primary Command Buffer를 호출할 수 없다.
- 여러 Primary Command Buffer에서 재사용이 가능하다.
- Primary Command Buffer를 만드는 도중에 다른 스레드에서 Secondary Command Buffer를 만들 수 있다.
'Graphics' 카테고리의 다른 글
[Vulkan] Push constants (0) | 2024.10.01 |
---|---|
Early depth testing, Early z pass (0) | 2024.09.17 |
DirectX 11 Pipeline Stage (0) | 2022.06.07 |
Tessellation (0) | 2022.06.06 |
DirectX 디버깅 도구 : Microsoft PIX (2) (0) | 2022.06.06 |