@Override public void read(JmeImporter im) throws IOException{ super.read(im); InputCapsule ic = im.getCapsule(this); stream = ic.readBoolean("do_stream", false); streamCache = ic.readBoolean("use_stream_cache", false); }
@Override public void read(JmeImporter im) throws IOException { super.read(im); InputCapsule ic = im.getCapsule(this); flipY = ic.readBoolean("flip_y", false); generateMips = ic.readBoolean("generate_mips", false); anisotropy = ic.readInt("anisotropy", 0); boolean asCube = ic.readBoolean("as_cubemap", false); if (asCube) { // Backwards compat textureTypeHint = Type.CubeMap; } else { textureTypeHint = ic.readEnum("tex_type", Texture.Type.class, Type.TwoDimensional); } } }
@Override public void read(JmeImporter im) throws IOException{ super.read(im); InputCapsule ic = im.getCapsule(this); fragName = ic.readString("fragment_name", null); language = ic.readString("language", null); }
@Override public void read(JmeImporter im) throws IOException{ super.read(im); InputCapsule ic = im.getCapsule(this); stream = ic.readBoolean("do_stream", false); streamCache = ic.readBoolean("use_stream_cache", false); }
@Override public void read(JmeImporter im) throws IOException{ super.read(im); InputCapsule ic = im.getCapsule(this); stream = ic.readBoolean("do_stream", false); streamCache = ic.readBoolean("use_stream_cache", false); }
@Override public void read(JmeImporter im) throws IOException { super.read(im); InputCapsule ic = im.getCapsule(this); flipY = ic.readBoolean("flip_y", false); generateMips = ic.readBoolean("generate_mips", false); asCube = ic.readBoolean("as_cubemap", false); anisotropy = ic.readInt("anisotropy", 0); } }
@Override public void read(JmeImporter im) throws IOException { super.read(im); InputCapsule ic = im.getCapsule(this); flipY = ic.readBoolean("flip_y", false); generateMips = ic.readBoolean("generate_mips", false); anisotropy = ic.readInt("anisotropy", 0); boolean asCube = ic.readBoolean("as_cubemap", false); if (asCube) { // Backwards compat textureTypeHint = Type.CubeMap; } else { textureTypeHint = ic.readEnum("tex_type", Texture.Type.class, Type.TwoDimensional); } } }