ContentTypeWriter<T>

class ContentTypeWriter<T> : ContentTypeWriter

Provides a generic implementation of ContentTypeWriter methods and properties for compiling a specific managed type into a binary format.

Type Parameters:
 
  • T – The type to write
void Write(ContentWriter output, System.Object value)

Compiles a strongly typed object into binary format.

Parameters:
  • output (Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler.ContentWriter) – The content writer serializing the value.
  • value (System.Object) – The value to write.
abstract void Write(ContentWriter output, Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler.T value)
Parameters:
  • output (Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler.ContentWriter) –
  • value (Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler.T) –