private NSErrorUserInfo getCachedUserInfo() { if (userInfo == null) { userInfo = getUserInfo(); } return userInfo; }
public GLKMatrix3(FloatBuffer m) { this.setM(m); } /*</constructors>*/
/** * @since Available in iOS 5.0 and later. */ public boolean shouldApplyPremultiplication() { if (has(Keys.ApplyPremultiplication())) { NSNumber val = (NSNumber) get(Keys.ApplyPremultiplication()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 5.0 and later. */ public boolean shouldGenerateMipmaps() { if (has(Keys.GenerateMipmaps())) { NSNumber val = (NSNumber) get(Keys.GenerateMipmaps()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 5.0 and later. */ public boolean shouldTreatGrayscaleAsAlpha() { if (has(Keys.GrayscaleAsAlpha())) { NSNumber val = (NSNumber) get(Keys.GrayscaleAsAlpha()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 5.0 and later. */ public boolean isOriginBottomLeft() { if (has(Keys.OriginBottomLeft())) { NSNumber val = (NSNumber) get(Keys.OriginBottomLeft()); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 5.0 and later. */ public GLKTextureLoaderOptions setShouldGenerateMipmaps(boolean shouldGenerateMipmaps) { set(Keys.GenerateMipmaps(), NSNumber.valueOf(shouldGenerateMipmaps)); return this; } /**
/** * @since Available in iOS 5.0 and later. */ public GLKTextureLoaderOptions setOriginBottomLeft(boolean originBottomLeft) { set(Keys.OriginBottomLeft(), NSNumber.valueOf(originBottomLeft)); return this; } /**
/** * @since Available in iOS 5.0 and later. */ public GLKTextureLoaderOptions setShouldApplyPremultiplication(boolean shouldApplyPremultiplication) { set(Keys.ApplyPremultiplication(), NSNumber.valueOf(shouldApplyPremultiplication)); return this; } /**
/** * @since Available in iOS 5.0 and later. */ public GLKTextureLoaderOptions setShouldTreatGrayscaleAsAlpha(boolean shouldTreatGrayscaleAsAlpha) { set(Keys.GrayscaleAsAlpha(), NSNumber.valueOf(shouldTreatGrayscaleAsAlpha)); return this; } /**
@Override public void viewDidAppear (boolean animated) { super.viewDidAppear(animated); if (app.viewControllerListener != null) app.viewControllerListener.viewDidAppear(animated); }
public GLKVector3(FloatBuffer v) { this.setV(v); } /*</constructors>*/
public GLKQuaternion(FloatBuffer q) { this.setQ(q); } /*</constructors>*/
@Override public void viewWillAppear (boolean arg0) { super.viewWillAppear(arg0); // start GLKViewController even though we may only draw a single frame // (we may be in non-continuous mode) setPaused(false); }
@Override public void viewDidAppear (boolean animated) { super.viewDidAppear(animated); if (app.viewControllerListener != null) app.viewControllerListener.viewDidAppear(animated); }
@Override public void viewWillAppear (boolean arg0) { super.viewWillAppear(arg0); // start GLKViewController even though we may only draw a single frame // (we may be in non-continuous mode) setPaused(false); }