5 using SiliconStudio.Core.Serialization;
6 using SiliconStudio.Core.Serialization.Contents;
8 namespace SiliconStudio.
Paradox.Graphics.Data
16 this.graphicsDevice = graphicsDevice;
24 stream.Serialize(ref samplerStateDescription, context.Mode);
25 samplerState = SamplerState.New(graphicsDevice, samplerStateDescription);
29 throw new NotImplementedException();
Describes a sampler state.
override object Construct(ContentSerializerContext context)
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.
GpuSamplerStateSerializer2(GraphicsDevice graphicsDevice)
Base class for implementation of SerializationStream.
override void Serialize(ContentSerializerContext context, SerializationStream stream, ref SamplerState samplerState)
ArchiveMode
Enumerates the different mode of serialization (either serialization or deserialization).
GraphicsDevice graphicsDevice