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 rasterizerStateDescription, context.Mode);
25 rasterizerState = RasterizerState.New(graphicsDevice, rasterizerStateDescription);
29 throw new NotImplementedException();
Describes a rasterizer state.
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.
GpuRasterizerStateSerializer(GraphicsDevice graphicsDevice)
Base class for implementation of SerializationStream.
override void Serialize(ContentSerializerContext context, SerializationStream stream, ref RasterizerState rasterizerState)
GraphicsDevice graphicsDevice
override object Construct(ContentSerializerContext context)
ArchiveMode
Enumerates the different mode of serialization (either serialization or deserialization).