Recent posts

Method & Virtual Table

July 02 2022

Virtual Table์˜ ๊ตฌ์กฐ C#์—์„œ ๋ชจ๋“  ํด๋ž˜์Šค๋Š” System.Object ํด๋ž˜์Šค์—์„œ ์ƒ์†๋˜๋ฏ€๋กœ VTable์„ ๊ฐ–๋Š”๋‹ค ๊ธฐ๋ณธ์ ์œผ๋กœ ToString, Equals, GetHashCode, Finalize ๋ฉ”์„œ๋“œ๋ฅผ VTable์— ๊ฐ–๋Š”๋‹ค Baseํด๋ž˜์Šค๊ฐ€ ๊ฐ€์ƒ ๋ฉ”์„œ๋“œ๊ฐ€ ์—†๋‹ค๋ฉด ์ด์™ธ์˜ ๋ฉ”์„œ๋“œ๋“ค์€ VTable Slo...

Abstract Data Type

July 02 2022

์ถ”์ƒ์  ์ž๋ฃŒํ˜• ADT ์ž๋ฃŒ ์ž์ฒด์˜ ํ˜•ํƒœ์™€ ์—ฐ์‚ฐ์„ ์ˆ˜ํ•™์ ์œผ๋กœ๋งŒ ์ •์˜ํ•œ ๊ฒƒ

SpriteRenderer vs. UI Image

June 22 2022

SpriteRenderer ์–ด๋–ค hierarchy์—๋„ ๋ฐฐ์น˜ํ•  ์ˆ˜ ์žˆ๋‹ค Transform์œผ๋กœ ์กฐ์ •ํ•œ๋‹ค transparent geometry queue๋ฅผ ํ†ตํ•ด์„œ render๋œ๋‹ค default material์„ ์‚ฌ์šฉํ•˜๋Š” ๊ฒฝ์šฐ ์ž๋™์œผ๋กœ ์ตœ์  ๋ฉ”์‰ฌ๋ฅผ ์ƒ์„ฑํ•œ๋‹ค draw call์„ ์ค„์ด๊ธฐ ์œ„ํ•ด sprite at...

Truth About Value Type

June 22 2022

Value type์ด๋ฉด ๋ชจ๋‘ stack์— ์ €์žฅ๋œ๋‹ค? Value type์€ stack์— ์ €์žฅ๋  ์ˆ˜ ์žˆ๋‹ค ํ•ญ์ƒ stack์— ์ €์žฅ๋˜๋Š” ๊ฒƒ์€ ์•„๋‹ˆ๋‹ค ํ”„๋กœ๊ทธ๋ž˜๋จธ๋Š” ํŠน์ • ๊ฐ์ฒด์— ๋Œ€ํ•ด stack์— ์ €์žฅ๋˜๋Š”์ง€ heap์— ์ €์žฅ๋˜๋Š”์ง€๋ฅผ ์•Œ์•„์•ผํ•  ํ•„์š”๊ฐ€ ์žˆ์—ˆ๋‹ค ์‚ฌ์šฉ์ž์—๊ฒŒ ๋…ธ์ถœ๋˜์ง€ ์•Š์€ ์ƒํƒœ๋กœ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ๊ด€๋ฆฌํ•˜๋Š”...