Esempio n. 1
0
 public GraphicsState(GraphicsState state)
 {
     MaterialParameters = state.MaterialParameters;
     Material = state.Material;
     AreaLight = state.AreaLight;
     AreaLightParameters = state.AreaLightParameters;
     ReverseOrientation = state.ReverseOrientation;
     FloatTextures = state.FloatTextures;
     SpectrumTextures = state.SpectrumTextures;
     CurrentNamedMaterial = state.CurrentNamedMaterial;
     NamedMaterials = state.NamedMaterials;
 }
Esempio n. 2
0
 public static void AttributeEnd()
 {
     Api.GraphicsState = new GraphicsState (Api.PushedGraphicsStates.Pop ());
     Api.CurrentTransform = new TransformSet (Api.PushedTransforms.Pop ());
     Api.ActiveTransformBits = Api.PushedActiveTransformBits.Pop ();
 }