@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.writeSavableList(lightList, "lightList", new ArrayList<Light>()); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(_shadeMode, "shadeMode", ShadingMode.Smooth); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.writeSavableList(_texture, "texture", new ArrayList<Texture>(1)); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.writeSavableList(_texture, "texture", new ArrayList<Texture>(1)); capsule.write(_correctionType, "correctionType", CorrectionType.Perspective); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(enabledClipPlanes, "enabledClipPlanes", new boolean[MAX_CLIP_PLANES]); capsule.write(planeEquations, "planeEquations", new double[MAX_CLIP_PLANES][4]); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(cullFace, "cullFace", Face.None); capsule.write(polygonWind, "polygonWind", PolygonWind.CounterClockWise); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(_function, "function", TestFunction.LessThan); capsule.write(_writable, "writable", true); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(_function, "function", TestFunction.LessThan); capsule.write(_writable, "writable", true); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(cullFace, "cullFace", Face.None); capsule.write(polygonWind, "polygonWind", PolygonWind.CounterClockWise); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(_factor, "factor", 0); capsule.write(_units, "units", 0); capsule.write(_enabledOffsets.contains(OffsetType.Fill), "typeFill", false); capsule.write(_enabledOffsets.contains(OffsetType.Line), "typeLine", false); capsule.write(_enabledOffsets.contains(OffsetType.Point), "typePoint", false); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(_factor, "factor", 0); capsule.write(_units, "units", 0); capsule.write(_enabledOffsets.contains(OffsetType.Fill), "typeFill", false); capsule.write(_enabledOffsets.contains(OffsetType.Line), "typeLine", false); capsule.write(_enabledOffsets.contains(OffsetType.Point), "typePoint", false); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(_face, "face", Face.FrontAndBack); capsule.write(_lineWidth, "lineWidth", 1); capsule.write(_antialiased, "antialiased", false); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(_usingParameters, "usingParameters", false); capsule.write(_parameters, "parameters", new float[96][]); capsule.write(_program, "program", null); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(usingParameters, "usingParameters", false); capsule.write(parameters, "parameters", new float[24][]); capsule.write(program, "program", null); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(_face, "face", Face.FrontAndBack); capsule.write(_lineWidth, "lineWidth", 1); capsule.write(_antialiased, "antialiased", false); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(blue, "blue", true); capsule.write(green, "green", true); capsule.write(red, "red", true); capsule.write(alpha, "alpha", true); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(blue, "blue", true); capsule.write(green, "green", true); capsule.write(red, "red", true); capsule.write(alpha, "alpha", true); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.writeSavableList(lightList, "lightList", new ArrayList<Light>()); capsule.write(lightMask, "lightMask", 0); capsule.write(backLightMask, "backLightMask", 0); capsule.write(twoSidedOn, "twoSidedOn", false); capsule.write(_globalAmbient, "globalAmbient", new ColorRGBA(DEFAULT_GLOBAL_AMBIENT)); capsule.write(localViewerOn, "localViewerOn", false); capsule.write(separateSpecularOn, "separateSpecularOn", false); }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.writeSavableList(_shaderUniforms, "shaderUniforms", new ArrayList<ShaderVariable>()); capsule.writeSavableList(_shaderAttributes, "shaderAttributes", new ArrayList<ShaderVariable>()); capsule.write(_vertShader, "vertShader", null); capsule.write(_fragShader, "fragShader", null); capsule.write(_geomShader, "geomShader", null); capsule.write(_geomShader, "geomShader", null); capsule.write(_tessControlShader, "tessControlShader", null); capsule.write(_tessEvalShader, "tessEvalShader", null); capsule.write(_useAttributeVBO, "useAttributeVBO", false); if (_shaderDataLogic instanceof Savable) { capsule.write((Savable) _shaderDataLogic, "shaderDataLogic", null); } }
@Override public void write(final OutputCapsule capsule) throws IOException { super.write(capsule); capsule.write(start, "start", 0); capsule.write(end, "end", 0); capsule.write(density, "density", 0); capsule.write(color, "color", new ColorRGBA(ColorRGBA.WHITE)); capsule.write(densityFunction, "densityFunction", DensityFunction.Exponential); capsule.write(quality, "applyFunction", Quality.PerPixel); capsule.write(source, "source", CoordinateSource.Depth); }