Input Assembler

Viewport and Scissor

Viewport

image.png

viewport.x = 0.0f;
viewport.y = 0.0f;
viewport.width = (float)swapChainExtent.width;
viewport.height = (float)swapChainExtent.height;
viewport.minDepth = 0.0f;  // 가장 가까운 depth 값
viewport.maxDepth = 1.0f;  // 가장 먼 depth 값

Scissor

Rasterization