Developing Core Layer Surface Applications
The Core layer is one of the two layers of the Microsoft Surface SDK. This layer exposes the same functionality as the Presentation layer, but it is targeted towards a different development model.
What the Core Layer Supports
The Core layer exposes Microsoft Surface-specific touch data and events so you can create Microsoft Surface-enabled applications with any user interface (UI) framework that is based on HWND.
The samples, project templates, and other components in the Microsoft Surface SDK use the Core layer by using the Microsoft XNA development platform. But you could also use other UI frameworks such as Microsoft Managed DirectX or Microsoft Windows Forms. XNA enables you to create dynamic and sophisticated graphics by supporting complex two-dimensional (2-D) and three-dimensional (3-D) rendering.
Because the Core layer does not depend on a specific UI framework, the Core layer is flexible in how you can use it. But the Core layer also does not have the pre-built controls that you can use with the Presentation layer of the Microsoft Surface SDK.
When to Use the Core Layer
The Presentation layer is powerful, but it does not meet all development needs. Use the Core layer when your Microsoft Surface application requires high-end graphics, such as complex 3-D animation or rich rendering with custom pixel shaders.
Use the Core layer if your application requires access to raw image data from the vision system.
Core Layer Documentation
To get started and learn how to create a Microsoft Surface application that uses XNA, see XNA Quick Start.
For more information and examples that are specific to the Core layer, see the following topics:
For a project that provides an extensive sample framework that helps you create controls by using the Core layer, see the Core Interaction Framework SDK sample. In addition, the Cloth SDK sample shows how to use the Core interaction framework in your own applications.
© Microsoft Corporation. All rights reserved.