¿¬½ÀÀå(´Ù¹ö¸®°í °©´Ï´Ù...)-³²±æ ±ÛÀÌ ÀÖÀ¸¸é ¹Î°¡ÃÌ¿¡ ³²°ÜÁֽðí, ȸ¿ø °¡ÀÔÀ» ¹ÞÁö ¾Ê½À´Ï´Ù.

2016/04/11 (16:52) from 124.137.60.57' of 0' Article Number : 1088
Delete Modify ... Access : 1350 , Lines : 9
Direct3D (DirectX 9.0) -  Initialization
Download : dx9_initialization.zip (29 Kbytes)
Ãâó ; http://www.codesampler.com/dx9src/dx9src_1.htm

Demonstrates how to initialize Direct3D. This sample is by far the simplest of all Direct3D samples on this page. If you know nothing about Direct3D, you probably need to start here. Check out the OpenGL source code page for the OpenGL equivalent of this sample.

Relevant C++ Keywords: Direct3DCreate9, GetAdapterDisplayMode, CheckDeviceFormat, GetDeviceCaps, CreateDevice, Clear, BeginScene, EndScene, Present, Release, D3D_SDK_VERSION, D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, D3DUSAGE_DEPTHSTENCIL, D3DRTYPE_SURFACE, D3DFMT_D16, D3DCREATE_HARDWARE_VERTEXPROCESSING, D3DSWAPEFFECT_DISCARD, D3DCLEAR_TARGET, D3DCLEAR_ZBUFFER, D3DCOLOR_COLORVALUE, BackBufferFormat, SwapEffect, Windowed, EnableAutoDepthStencil, and AutoDepthStencilFormat.

Relevant C# Keywords: System.Windows.Forms.Form, System.Drawing.Size, SetStyle, ControlStyles.AllPaintingInWmPaint, ControlStyles.Opaque, Invalidate, Show, Manager.CheckDeviceFormat, Manager.Adapters.Default.Adapter, DeviceType.Hardware, Manager.Adapters.Default.CurrentDisplayMode.Format, Usage.DepthStencil, ResourceType.Surface, DepthFormat.D16, Caps, Manager.GetDeviceCaps, DeviceCaps.SupportsHardwareTransformAndLight, CreateFlags.HardwareVertexProcessing, CreateFlags.SoftwareVertexProcessing, PresentParameters, d3dpp.BackBufferFormat, Format.Unknown,SwapEffect, SwapEffect.DiscardWindowed, EnableAutoDepthStencil, AutoDepthStencilFormat, DepthFormat.D16, PresentationInterval, PresentInterval.Immediate, Clear, BeginScene, EndScene, and Present.

(Last Updated: 05/27/05 - C++)

Backward Forward Post Reply List