Microsoft directdraw sdk




















Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. Feedback will be sent to Microsoft: By pressing the submit button, your feedback will be used to improve Microsoft products and services.

Privacy policy. As DirectX technologies matured, they became relevant to a broader range of applications. Today, the availability of Direct3D hardware in computers drives even traditional desktop applications to use graphics hardware acceleration.

In parallel, DirectX technologies are more integrated with Windows. DirectX is now a fundamental part of Windows. To download the Windows 8. If you install onto a computer running Windows 8 and later, you will be prompted and required to enable. NET 3. Click Apply. Choose the x64 Platform. Set the Library Directory as follows:.

Wherever "d3dx9. You can disable warning C if needed; however, this warning indicates you are using the older version of these headers. Ensure that the necessary D3DX dependencies are redistributed with any sample or with your application if it is moved to another machine. Ensure that you are using the new version of the HLSL shader compiler by observing the following conditions:. To select a subset of the clip list, you can pass a rectangle that clips the clip list.

GetClipper Retrieves the DirectDrawClipper object that is associated with this surface, and increments the reference count of the returned clipper. GetColorControls Retrieves the current color-control settings that are associated with an overlay or a primary surface. GetColorKey Retrieves the color key value for this surface. GetDeviceIdentifier Obtains information about the device driver. This method can be used, with caution, to recognize specific hardware installations to implement workarounds for poor driver or chipset behavior.

GetDisplayMode Retrieves the current display mode. GetFlipStatus Retrieves status about whether this surface has finished its flipping process. This method can also retrieve the number of codes that are supported. GetGammaRamp Retrieves the red, green, and blue gamma ramps for the primary surface. This method succeeds only on managed textures. GetOverlayPosition Retrieves the display coordinates of this surface.

GetPalette Retrieves the DirectDrawPalette object that is associated with this surface, and increments the reference count of the returned palette. GetPixelFormat Retrieves the color and pixel format of this surface. GetPriority Retrieves the texture-management priority for this texture.

GetPrivateData Copies the private data that is associated with this surface to a provided buffer. GetScanLine Retrieves the scan line that is currently being drawn on the monitor. GetSurfaceDesc Retrieves a description of this surface in its current condition. GetUniquenessValue Retrieves the current uniqueness value for this surface. GetVerticalBlankStatus Retrieves the status of the vertical blank. Initialize Initializes the DirectDrawPalette object.

Initialize Initializes a DirectDrawSurface object. IsLost Determines whether the surface memory that is associated with a DirectDrawSurface object has been freed. Lock Obtains a pointer to the surface memory. PageLock Prevents a system-memory surface from being paged out while a bit block transfer bitblt operation that uses direct memory access DMA transfers to or from system memory is in progress.

PageUnlock Unlocks a system-memory surface, which then allows it to be paged out. Restore Restores a surface that has been lost. This occurs when the surface memory that is associated with the DirectDrawSurface object has been freed. Microsoft is committed to ensuring that when game developers adopt a new API, they can reach as many gamers as possible. DirectStorage features can be broken down into:. This means that any game built on DirectStorage will benefit from the new programming model and GPU decompression technology on Windows 10, version and up.

Additionally, because Windows 11 was built with DirectStorage in mind, games running on Windows 11 benefit further from new storage stack optimizations. As a game developer, you need only implement DirectStorage once into your engine, and all the applicable benefits will be automatically applied and scaled appropriately for gamers. In fact, this great compatibility extends to a variety of different hardware configurations as well. DirectStorage enabled games will still run as well as they always have even on PCs that have older storage hardware e.



0コメント

  • 1000 / 1000