
CHAPTER 3 ■ WORKING WITH 2D IMAGES/TEXTURES IN XNA 3.0
223
Extending the Default Texture Processor
Now everything has been initialized, you’re ready to code your processor so it does something
custom.
You have created a class, ExtendedTextureProcessor, that inherits from the default
TextureProcessor class, and you have declared you will override the Process method of that
class. As with all content processor methods, this method is called Process and receives a
DOMobject(inthecaseofTextureProcessor, this will be a TextureContent object, as you can
see in Table 3-1) and a ContentProcessorContext object. This context object can be used to ...