You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
쉐이더에서 텍스쳐를 렌더링 하기 위해, DirectXTex 라이브러리를 외부에서 불러오고, 여기서 제공하는 헬퍼함수를 사용하여 Shader Resource View를 생성한다. Texture2D 객체는 내부에서만 생성하는 것인듯. 또한 샘플러를 만들고, SRV, 샘플러를 렌더 파이프라인에 사용한다고 통지하여 텍스쳐를 참조하여 쉐이더에서 렌더링한다.