Class Model3D.Texture

  • Direct Known Subclasses:
    TextureData
    Enclosing class:
    Model3D

    public static class Model3D.Texture
    extends java.lang.Object
    • Constructor Detail

      • Texture

        public Texture​(long cPtr,
                       boolean cMemoryOwn)
    • Method Detail

      • delete

        public void delete()
      • hasImageData

        public boolean hasImageData()
        check if this texture has image data
        Returns:
        true if it has image data, false otherwise
      • getRGBData

        public Vector3Df getRGBData()
        get RGB data
        Returns:
      • getName

        public java.lang.String getName()
        get id of texture
        Returns:
      • clone

        public TexturePtr clone()
        Clone the current texture
        Returns:
        rw::core::Ptr<Texture>