Skip to content

CullingManager

29thnight edited this page Nov 28, 2025 · 1 revision

CullingManager

간단 설명: 옥트리 기반 공간 분할을 사용하여 MeshRenderer 컬링/조회/레이캐스트 제공하는 싱글턴.

메서드

메서드 명 메서드 설명
Initialize(worldBox, cfg) 옥트리 초기화(월드 경계/설정)
Shutdown() 옥트리 및 리소스 해제
IsInitialized() 초기화 여부 반환
Register(mr, id, aabb) MeshRenderer 등록 및 AABB 삽입
Unregister(id) ID로 등록 제거
UpdateBounds(id, aabb) AABB 업데이트
FrustumCull(frustum, out) 프러스텀 컬링 결과 out 벡터에 추가
BoxQuery(area, out) 영역 박스 교차하는 렌더러 쿼리
FrustumCullFrontToBack(eye, frustum, out) 거리 기반 정렬된 프러스텀 컬링
Raycast(ray, hits, maxDistance) 레이와 교차하는 AABB hit 목록(거리 포함)
GetStats() 옥트리 통계 반환

맴버변수

이름 설명
m_oct 옥트리 unique_ptr (초기화 시 생성)

CreatorEngine

API Docs

API Reference
Main
PhysicsSystem
RenderEngine
ScriptBinder
Utility_Framework

etc

Clone this wiki locally