Class LullModel


  • public class LullModel
    extends java.lang.Object
    Helper functions for loading and processing lull models.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.google.android.filament.TextureSampler.WrapMode[] fromLullWrapMode  
    • Constructor Summary

      Constructors 
      Constructor Description
      LullModel()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.android.filament.TextureSampler.MagFilter fromLullToMagFilter​(com.google.ar.schemas.lull.TextureDef textureDef)  
      static com.google.android.filament.TextureSampler.MinFilter fromLullToMinFilter​(com.google.ar.schemas.lull.TextureDef textureDef)  
      static int getByteCountPerVertex​(com.google.ar.schemas.lull.ModelInstanceDef modelInstanceDef)  
      static boolean isLullModel​(java.nio.ByteBuffer buffer)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fromLullWrapMode

        public static final com.google.android.filament.TextureSampler.WrapMode[] fromLullWrapMode
    • Constructor Detail

      • LullModel

        public LullModel()
    • Method Detail

      • isLullModel

        public static boolean isLullModel​(java.nio.ByteBuffer buffer)
      • getByteCountPerVertex

        public static int getByteCountPerVertex​(com.google.ar.schemas.lull.ModelInstanceDef modelInstanceDef)
      • fromLullToMinFilter

        public static com.google.android.filament.TextureSampler.MinFilter fromLullToMinFilter​(com.google.ar.schemas.lull.TextureDef textureDef)
      • fromLullToMagFilter

        public static com.google.android.filament.TextureSampler.MagFilter fromLullToMagFilter​(com.google.ar.schemas.lull.TextureDef textureDef)