Skip to Main Content
HLSL and Pixel Shaders for XAML Developers
book

HLSL and Pixel Shaders for XAML Developers

by Walt Ritscher
July 2012
Intermediate to advanced content levelIntermediate to advanced
204 pages
4h 39m
English
O'Reilly Media, Inc.
Content preview from HLSL and Pixel Shaders for XAML Developers

Appendix B. Shazzam Settings

Table B-1. Shazzam tags, general and class level

Shazzam Tag

Description

///

A Shazzam XML comment tag. Content is ignored by the DirectX compiler.

<class>

Specifies the desired classname for generated file. By default, Shazzam uses the filename for the effect name. A class named SwirlyEffect is generated from the Swirly.fx file. Use the <class> tag to override the default name.

<namespace>

Specifies the desired namespace for the effect class. By default, Shazzam uses the namespace configured in the Tools panel settings panel. Use the <namespace> tag to override the default namespace name.

<description>

Provides a description for this effect. Shazzam will generate comments in the .cs/.vb file from this description.

<target>

Forces the compiler to generate a Silverlight or WPF version of the .NET effect class. The default target is configured in the Settings panel. Use the <target> tag to override the default target.

<type>

Use the <type> tag to change the default .NET type specified for the generated dependency property.

Table B-2. Shazzam Tags, parameter level

Shazzam Tag

Description

<summary>

This tag is used by the Tryout tab.

It is used on a shader input parameter to describe the purpose of the input parameter. It causes a tooltip to show in Shazzam for the test control.

<minValue>

This tag is used by the Tryout tab.

It provides an initial value for the minimum textbox.

<maxValue>

This tag is used by the Tryout tab.

It provides an initial value for the maximum textbox. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Real-Time Shader Programming

Real-Time Shader Programming

Ron Fosner

Publisher Resources

ISBN: 9781449324995Errata Page