@Override public void write(JmeExporter ex) throws IOException{ super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(stream, "do_stream", false); oc.write(streamCache, "use_stream_cache", false); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(flipY, "flip_y", false); oc.write(generateMips, "generate_mips", false); oc.write(anisotropy, "anisotropy", 0); oc.write(textureTypeHint, "tex_type", Type.TwoDimensional); // Backwards compat oc.write(textureTypeHint == Type.CubeMap, "as_cubemap", false); }
@Override public void write(JmeExporter ex) throws IOException{ super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(stream, "do_stream", false); oc.write(streamCache, "use_stream_cache", false); }
@Override public void write(JmeExporter ex) throws IOException{ super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(fragName, "fragment_name", null); oc.write(language, "language", null); }
@Override public void write(JmeExporter ex) throws IOException{ super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(stream, "do_stream", false); oc.write(streamCache, "use_stream_cache", false); }
public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(flipY, "flip_y", false); oc.write(generateMips, "generate_mips", false); oc.write(asCube, "as_cubemap", false); oc.write(anisotropy, "anisotropy", 0); }
@Override public void write(JmeExporter ex) throws IOException { super.write(ex); OutputCapsule oc = ex.getCapsule(this); oc.write(flipY, "flip_y", false); oc.write(generateMips, "generate_mips", false); oc.write(anisotropy, "anisotropy", 0); oc.write(textureTypeHint, "tex_type", Type.TwoDimensional); // Backwards compat oc.write(textureTypeHint == Type.CubeMap, "as_cubemap", false); }