Welcome to MSDN Blogs Sign in | Join | Help

August 2008 - Posts

Why IntermediateSerializer control attributes are not part of the Content Pipeline

IntermediateSerializer is intended for use during the content build process, so it is implemented in the Microsoft.Xna.Framework.Content.Pipeline assembly. This is not available on Xbox or Zune, and not part of the framework redistributable, which makes

Customizing IntermediateSerializer, part 2

What can you do when serialization helper properties just aren't enough? Bring out the big guns and write your own ContentTypeSerializer. If you have ever written a ContentTypeWriter or ContentTypeReader, this should seem familiar. To customize the XML

Customizing IntermediateSerializer, part 1

So, you are using IntermediateSerializer to import XML data into your content build process. Excellent! Having read my previous post , you understand how to control the formatting of your XML via attributes. Even better!! Lets say you want to serialize

BasicEffect: a misnomer?

XNAThomas asks : "I tried with all the models from the Spacewar starter kit and they seem to all have the same problem. The cockpit and engine exhausts never get the correct material/texture/lighting, although the fuselage looks fine." Short

BasicEffect and SpriteBatch shader source code

I'm pleased to announce we have released the HLSL source code for the shaders used by BasicEffect and SpriteBatch . If you are just getting started with shaders and looking for something simple, these are probably not the best place to start. I would

Everything you ever wanted to know about IntermediateSerializer

It is good to know how to fish , but sometimes you just want to go to the store and buy a salmon that somebody else already caught for you. With this in mind, here is my attempt to fill in the blanks about exactly how to use IntermediateSerializer . The

Teaching a man to fish

Variants of the following question come up somewhat regularly on the XNA forums: I want to import game data from an XML file I plan to do this using the Content Pipeline IntermediateSerializer I have my custom data type all ready to go But I don't know

How serializers work

To understand the differences between the XNA Framework IntermediateSerializer and the standard .NET XmlSerializer, it can be useful to look at how they are implemented. Fundamentally, all serializers work in a similar way: Use the .NET Reflection API
 
Page view tracker