HLSL and Pixel Shaders for XAML Developers (Paperback)

Walt Ritscher

  • 出版商: O'Reilly
  • 出版日期: 2012-08-21
  • 定價: $525
  • 售價: 9.0$473
  • 語言: 英文
  • 頁數: 204
  • 裝訂: Paperback
  • ISBN: 144931984X
  • ISBN-13: 9781449319847
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Pixel shaders are some of the more powerful graphic tools available for XAML programmers, but shader development bears little resemblance to traditional .NET programming. With this hands-on book, you’ll not only discover how to use existing shaders in your Windows Presentation Foundation (WPF) and Silverlight applications, you’ll also learn how create your own effects with XAML and Microsoft’s HLSL shading language.

In the process, you’ll write, compile, and test custom XAML shaders with the Shazzam Shader Editor, a free utility developed by author Walt Ritscher. The book includes XAML and C# sample code, and Shazzam contains all of the sample shaders discussed.

  • Learn how shaders help you extend the GPU’s rendering capabilities
  • Explore prevailing shader types, such as color modification, blurring, and spatial transformation
  • Get a quick tour of the shader features, and use pre-built effects on image elements in your application
  • Examine the XAML ShaderEffect class to understand how WPF and Silverlight use shaders
  • Learn about the shader-specific tools available in Visual Studio and Expression Blend
  • Get up to speed on HLSL basics and learn how to create a variety of graphics effects

商品描述(中文翻譯)

像素着色器是XAML程序员可用的一些更强大的图形工具之一,但着色器开发与传统的.NET编程几乎没有相似之处。通过这本实践指南,您不仅将了解如何在Windows Presentation Foundation(WPF)和Silverlight应用程序中使用现有的着色器,还将学习如何使用XAML和Microsoft的HLSL着色语言创建自己的效果。

在此过程中,您将使用Shazzam Shader Editor这个由作者Walt Ritscher开发的免费工具编写、编译和测试自定义的XAML着色器。本书包含XAML和C#示例代码,而Shazzam则包含了所有讨论过的示例着色器。

本书内容包括:
- 了解着色器如何帮助您扩展GPU的渲染能力
- 探索常见的着色器类型,如颜色修改、模糊和空间变换
- 快速了解着色器功能,并在应用程序中对图像元素使用预构建的效果
- 研究XAML的ShaderEffect类,了解WPF和Silverlight如何使用着色器
- 了解Visual Studio和Expression Blend中提供的着色器特定工具
- 掌握HLSL基础知识,并学习如何创建各种图形效果