public Integer getTextureMagFilter ( AiTextureType type , int index ) { checkTexRange ( type , index ) ; Property p = getProperty ( PropertyKey . TEX_MAG_FILTER . m_key ) ; if ( null == p || null == p . getData ( ) ) { return ( Integer ) m_defaults . get ( PropertyKey . TEX_MAG_FILTER ) ; } Object rawValue = p . getData ( ) ; if ( rawValue instanceof java . nio . ByteBuffer ) { java . nio . IntBuffer ibuf = ( ( java . nio . ByteBuffer ) rawValue ) . asIntBuffer ( ) ; return ibuf . get ( ) ; } else { return ( Integer ) rawValue ; } }
Returns the texture magnification filter