5 using SiliconStudio.Core.Serialization;
6 using SiliconStudio.Core.Serialization.Contents;
8 namespace SiliconStudio.
Paradox.Graphics.DataOld
16 this.graphicsDevice = graphicsDevice;
24 stream.Serialize(ref blendStateDescription, context.Mode);
25 blendState = BlendState.New(graphicsDevice, blendStateDescription);
29 throw new NotImplementedException();
GpuBlendStateSerializer(GraphicsDevice graphicsDevice)
Performs primitive-based rendering, creates resources, handles system-level variables, adjusts gamma ramp levels, and creates shaders. See The+GraphicsDevice+class to learn more about the class.
Base class for implementation of SerializationStream.
GraphicsDevice graphicsDevice
override void Serialize(ContentSerializerContext context, SerializationStream stream, ref BlendState blendState)
override object Construct(ContentSerializerContext context)
ArchiveMode
Enumerates the different mode of serialization (either serialization or deserialization).