Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit focus mode

Direct2D samples

  • 2021-05-26
Feedback

In this article

The following samples demonstrate the Direct2D API.

Windows 10 and Microsoft Visual Studio 2015 samples

SampleDescription
Direct2D custom image effects sampleThis sample demonstrates how to implementCustom effects using HLSL pixel, vertex, and compute shaders.
Direct2D gradient mesh sampleThis sample demonstrates how to instantiate and render a gradient mesh in Direct2D. This samples uses the helper method provided by Direct2D to create a mesh consisting of two tensor patches that share a side.
Direct2D photo adjustment sampleThis sample demonstrates how to build a photo viewer and editor using Direct2D and Direct2D Effects.

Windows 8 and Microsoft Visual Studio 2013 samples

SampleDescription
Direct2D composite effect modes sampleThis sample shows the wide range of composite and blend modes available from Direct2D.
Direct2D basic image effects sampleThis sample shows how to load an image, apply the Gaussian blur effect to it, and then display it in a Windows::UI::Core::CoreWindow.
JPEG YCbCr optimizations in Direct2D and WIC sampleDemonstrates performance optimizations in Direct2D and the Windows Imaging Component rendering image data in the JPEG YCbCr format natively.
DirectX postcard app sampleThis sample demonstrates the end-to-end implementation of a simple Windows Store app using DirectX with C++ for postcard creation using DirectX and XAML interop.

Feedback

Was this page helpful?

YesNo

In this article

Was this page helpful?

YesNo