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 depthStencilStateDescription, context.Mode);
25 depthStencilState = DepthStencilState.New(graphicsDevice, depthStencilStateDescription);
29 throw new NotImplementedException();
override void Serialize(ContentSerializerContext context, SerializationStream stream, ref DepthStencilState depthStencilState)
Contains depth-stencil state for the device.
override object Construct(ContentSerializerContext context)
GpuDepthStencilStateSerializer(GraphicsDevice graphicsDevice)
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.
ArchiveMode
Enumerates the different mode of serialization (either serialization or deserialization).
Describes a depth stencil state.