public int [ ] getIntArray ( String attributeName ) { int [ ] array = NativeVertexBuffer . getIntArray ( getNative ( ) , attributeName ) ; if ( array == null ) { throw new IllegalArgumentException ( "Attribute name " + attributeName + " cannot be accessed" ) ; } return array ; }
Retrieves a vertex attribute as an integer array . The attribute name must be one of the attributes named in the descriptor passed to the constructor .