본문 바로가기

DirectX

(12)
Direct2D and Direct3D Interoperability Overview https://docs.microsoft.com/en-us/windows/win32/direct2d/direct2d-and-direct3d-interoperation-overview?redirectedfrom=MSDN Direct2D and Direct3D Interoperability Overview - Win32 apps Direct2D and Direct3D Interoperability Overview docs.microsoft.com 기존의 2D 렌더링을 효율적인 방식으로 Direct3D 렌더링과 혼합하여 많은 효용성을 가질 수 있다. 이 글에서는 Direct2D 및 Direct3D를 사용하여 2D 및 3D 그래픽을 통합하는 방법에 대해 설명한다. Interoperability Through D..
Direct2D Resources Overview https://docs.microsoft.com/en-us/windows/win32/direct2d/resources-and-resource-domains Resources Overview - Win32 apps Describes Direct2D resources and how they can be shared. docs.microsoft.com Direct2D 리소스는 그리기에 사용되는 개체이며 ID2D1Geometry 또는 ID2D1RenderTarget과 같은 Direct2D 인터페이스로 표시됩니다 . 이 항목에서는 Direct2D 리소스의 종류와 공유 방법에 대해 설명합니다. About Direct2D Resources 많은 하드웨어 가속 2D API들은 CPU-focused resource mo..
Text Rendering with Direct2D and DirectWrite https://docs.microsoft.com/en-us/windows/win32/direct2d/direct2d-and-directwrite Text Rendering with Direct2D and DirectWrite - Win32 apps Unlike other APIs, such as GDI, GDI+ or WPF, Direct2D interoperates with another API, DirectWrite, to manipulate and render text. This topic describes the benefits and interoperation of these separate components. docs.microsoft.com GDI, GDI+ 또는 WPF와 다르게 Direc..
Direct3D 리소스 DirectX 11로 시작하는 3D 게임 프로그래밍 // 이용희 지음 // 프레릭 3D 화면을 구성하고 그리려면 여러 가지 형태의 데이터가 필요하다. 이러한 데이터는 기하학적 데이터(정점 데이터), 텍스처, 셰이더 데이터 등을 포함하며 Direct3D 렌더링 파이프라인에서 참조할 수 있는 메모리 영역에 저장되어야 한다. 이러한 리소스 데이터는 미리 작성된 것을 파일로부터 읽어들이거나 프로그램 실행 중에 동적으로 생성할 수 있다. 리소스 데이터는 응용 프로그램(CPU)에서 생성되고 GPU에서 렌더링을 위해 사용하는 것이 일반적이다. Direct3D에서는 이러한 메모리를 효율적으로 참고하고자 리소스(Resource)라는 개념과 이와 관련된 인터페이스를 제공한다. Direct3D에서 리소스는 Direct3D ..
Direct3D 11 렌더링 파이프라인 DirectX 11로 시작하는 3D 게임 프로그래밍 // 이용희 지음 // 프레릭 1. Direct3D 11 렌더링 파이프라인 Direct3D 렌더링 파이프라인은 GPU를 사용하여 메모리의 리소스(정점/인덱스 버퍼, 텍스처)를 2차원 이미지(픽셀)로 렌더링하는 일련의 과정을 의미한다. 이 파이프라인은 여러 개의 작은 논리적인 단위(파이프라인 단계, Pipeline Stage)로 구성되며 프로그램 가능 단계와 고정 프로그램 단계로 구분된다. 고정 프로그램 단계는 Direct3D 라이브러리에서 모든 처리가 진행되며 응용 프로그램에서 프로그래밍 할 수 없는 단계이다. Input Assembler Stage Tessellator Stage Stream Output Stage Rasterizer Stage Out..
Tutorial: Getting Started with DirectWrite https://docs.microsoft.com/ko-kr/windows/win32/directwrite/getting-started-with-directwrite DirectWrite 시작 자습서 - Win32 apps 이 문서에서는 DirectWrite 및 Direct2D를 사용 하 여 단일 형식을 포함 하는 간단한 텍스트와 여러 형식이 포함 된 텍스트를 만드는 방법을 보여 줍니다. docs.microsoft.com Drawing Simple Text 화면에 간단한 텍스트를 그리기위한 네 가지 구성 요소 - 렌더링 할 문자열 - IDWriteTextFormat의 인스턴스 - 텍스트를 포함 할 영역의 크기 - 텍스트를 렌더링 할 수있는 렌더 타깃 IDWriteTextFormat 인스턴스를 생성하려면 I..
Direct2D Hello World Sample https://docs.microsoft.com/en-us/samples/microsoft/windows-classic-samples/direct2dhelloworld/ Direct2D Hello World Sample - Code Samples Draws a simple text string with Direct2D. docs.microsoft.com Text를 출력하기위해 Creating a Simple Direct2D Application 샘플과 다른 점 위주로 학습 docs.microsoft.com/ko-kr/windows/win32/direct2d/direct2d-quickstart 간단한 Direct2D 응용 프로그램 만들기 - Win32 apps Direct2D 콘텐츠를 렌더링 하는 창을 만..
Creating a Simple Direct2D Application https://docs.microsoft.com/ko-kr/windows/win32/direct2d/direct2d-quickstart 간단한 Direct2D 응용 프로그램 만들기 - Win32 apps Direct2D 콘텐츠를 렌더링 하는 창을 만드는 과정을 안내 합니다. docs.microsoft.com VisualStudio 2019로는 빌드가 안되고 2013으로만로 빌드되던 문제 { syntax error: identifier 'FILE_INFO_BY_HANDLE_CLASS' C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\fileapi.h syntax error: identifier 'FILE_INFO_BY_HANDLE_CLASS'..