Skip to content

HLSLCompiler

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

HLSLCompiler

간단 설명: HLSL 셰이더 컴파일/로드 유틸. #include 처리를 위한 커스텀 ID3DInclude 구현 포함.

IncludeHandler

  • Open(IncludeType, pFileName, ...): 로컬은 m_shaderPath/pFileName, 시스템은 Shaders/ 기준 상대 경로
  • 파일을 읽어 ppData/pBytes 세팅, 실패 시 E_FAIL
  • Close(pData): 할당 메모리 해제

HLSLCompiler

메서드 설명
LoadFormFile(filepath) 파일에서 컴파일/로드 후 ID3DBlob 반환(캐시 사용)
CleanUpCache() 내부 캐시 클리어

내부: CheckResult(hResult, shader, errorBlob), CheckExtension(ext) 유틸과 concurrent_unordered_map 캐시.

CreatorEngine

API Docs

API Reference
Main
PhysicsSystem
RenderEngine
ScriptBinder
Utility_Framework

etc

Clone this wiki locally