ํƒœ๊ทธ

C++ C์–ธ์–ด C DX12 STL DirectX 12 ์žฅ์น˜์ดˆ๊ธฐํ™” DirectX12 Vector ํฌ์ธํ„ฐ ์•Œ๊ณ ๋ฆฌ์ฆ˜ DescriptorHeap ์„œ์ˆ ์žํž™ DSVHeap RTVHeap SwapChain CommandQueue CommandList 2์˜ ๋ณด์ˆ˜ ๋ฒกํ„ฐ ํ…œํ”Œ๋ฆฟ ์ŠคํŠธ๋ฆผ ์ž๋ฃŒ๊ตฌ์กฐ ๋™์ ํ• ๋‹น ๋ฌธ์ž์—ด array ์ฐจ์ด list Map emplace_back ๋ฉ”๋ชจ๋ฆฌ์ •์ฑ… SingleThreadRendering MultiThreadRendering ์‹ฑ๊ธ€ ์Šค๋ ˆ๋“œ ๋ Œ๋”๋ง ๋ฉ€ํ‹ฐ ์Šค๋ ˆ๋“œ ๋ Œ๋”๋ง ํŒŒ์ดํ”„๋ผ์ธ ์ƒํƒœ ๊ฐ์ฒด ID3D12PipelineState ํŒŒ์ดํ”„๋ผ์ธ ์ƒํƒœ ID3D12RootSignature RootSignature ๋ฃจํŠธ ์‹œ๊ทธ๋‹ˆ์ฒ˜ ๋ฃจํŠธ ์„œ๋ช… D3D12_RESOURCE_STATES ResourceState ๋ฆฌ์†Œ์Šค ์ƒํƒœ ResourceBarrier ๋ฆฌ์†Œ์Šค ์žฅ๋ฒฝ ๋ฆฌ์†Œ์Šค ๋ฒ ๋ฆฌ์–ด RSSetScissorRects RSSetViewports ScissorRect ์‹œ์ €์‚ฌ๊ฐํ˜• Viewprot DepthStencilView RenderTargetView CreateDepthStencilView CreateRenderTargetView ID3D12CommandQueue FenceObject ID3D12Fence ์Šค์™‘์ฒด์ธ CreateSwapChain CreateCommandQueue CreateCommandList CommandAllocator ์—ฐ๊ด€ ์ปจํ…Œ์ด๋„ˆ ๊ณต๊ฐ„๋ณต์žก๋„ count_if ์ค‘๊ฐ„ ์‚ญ์ œ ์ค‘๊ฐ„ ์‚ฝ์ž… ์žฌํ• ๋‹น ๋ณต์‚ฌ ๋ฉ”๋ชจ๋ฆฌ ์˜ˆ์•ฝ ๋ฉ”๋ชจ๋ฆฌ ์ •์ฑ… ๋ณต์‚ฌ ์ƒ์„ฑ์ž ํ˜ธ์ถœ ์‹œ์  ํด๋ž˜์Šค ํŠน์„ฑ ํด๋ž˜์Šค ํŠน์ง• ์†Œ์Šค๋ถ„ํ•  ํ•„ํ„ฐ๋ถ„ํ•  ํฌ์ธํ„ฐ const cosnt call by pointer ๋ฐ์ดํ„ฐ ์„ธ๊ทธ๋จผํŠธ ํ…์ŠคํŠธ ์„ธ๊ทธ๋จผํŠธ ๋ฌธ์ž์—ด ๋ฒ„ํผ ์™ธ๋ถ€๋‹จํŽธํ™” ๋‚ด๋ถ€๋‹จํŽธํ™” ๋ฉ”๋ชจ๋ฆฌ๋‹จํŽธํ™” ๋ถ€๋™ ์†Œ์ˆ˜์  ์˜ค์ฐจ 32๋น„ํŠธ 64๋น„ํŠธ ๋ฐ์ดํ„ฐ์˜ ํ‘œํ˜„ ๋ฐฉ์‹ ์‹คํ–‰ํŒŒ์ผ ์ƒ์„ฑ ๊ณผ์ • ์‹คํ–‰ํŒŒ์ผ ์ƒ์„ฑ ํ”„๋กœ๊ทธ๋žจ ์ปดํŒŒ์ผ ํ”„๋กœ๊ทธ๋žจ ๋นŒ๋“œ C++ ์ƒ์† ๋ฉ”๋ชจ๋ฆฌ ๊ตฌ์กฐ const ํฌ์ธํ„ฐ ์–•์€๋ณต์‚ฌ 32๋น„ํŠธ 64๋น„ํŠธ ์ฐจ์ด unordered_map ์ถœ๋ ฅ์ŠคํŠธ๋ฆผ ์ž…๋ ฅ์ŠคํŠธ๋ฆผ ์ •์ ๋ฐ”์ธ๋”ฉ ๋‹คํ˜• ๊ฐ€์ƒํ•จ์ˆ˜ ํ…Œ์ด๋ธ” ์ ‘๊ทผ์ œ์–ด ์ง€์‹œ์ž push_back for_each ํ…œํ”Œ๋ฆฟ ํŠน์ˆ˜ํ™” ์€๋‹‰ unordered_set ๋ทฐํฌํŠธ ํŒŒ์ผ๋ถ„ํ•  ๋ถ€๋™ ์†Œ์ˆ˜์  find_if ๋™์ ๋ฐ”์ธ๋”ฉ ์‹œ๊ฐ„๋ณต์žก๋„ fflush ์„œ์ˆ ์ž ํŒŒ์ผ์ž…์ถœ๋ ฅ ๋น„ํŠธ์—ฐ์‚ฐ์ž ๋ฆฌํ„ฐ๋Ÿด ์—ฐ์‚ฐ์ž์˜ค๋ฒ„๋กœ๋”ฉ RenderTarget ๋ณต์‚ฌ ์ƒ์„ฑ์ž ๋น…์˜ค 2์ง„์ˆ˜ Capacity ๋ฌธ์ž์—ด ์ƒ์ˆ˜ descriptor ํ•ด์‹œ ๋ฐ˜๋ณต์ž remove ์ˆœ์ˆ˜๊ฐ€์ƒํ•จ์ˆ˜ GPU RESERVE ๊นŠ์€๋ณต์‚ฌ calloc call by reference ํž™ ์ฐจ์ด์  ๋นŒ๋“œ iterator 16์ง„์ˆ˜ Set ์˜ค๋ฒ„๋กœ๋”ฉ ์˜ค๋ฒ„๋ผ์ด๋”ฉ ํ•จ์ˆ˜ ๋™๊ธฐํ™” ํด๋ž˜์Šค POD ์บก์Š ์Šคํƒ ๋ฐฐ์—ด ๊ตฌ์กฐ์ฒด ๊ฐ€์ƒํ•จ์ˆ˜ ์†Œ๋ฉธ์ž ์ƒ์„ฑ์ž malloc ๋ฐ์ดํ„ฐ ๋ ˆํผ๋Ÿฐ์Šค ์ปจํ…Œ์ด๋„ˆ ๊ฐ์ฒด์ง€ํ–ฅ ๋ฐ”์ธ๋”ฉ template signal ๋‹คํ˜•์„ฑ delete ์ปดํŒŒ์ผ new ๋ฐ”์ดํŠธ ๋น„ํŠธ ์ƒ์† ๋งต ํ•„ํ„ฐ ๋ฌธ์ž Hash ์ฝ”๋“œ