/** * @since Available in iOS 4.0 and later. */ public CVPixelFormatDescription setCompatibleWithOpenGL(boolean compatibleWithOpenGL) { set(Keys.OpenGLCompatibility(), CFBoolean.valueOf(compatibleWithOpenGL)); return this; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean isCompatibleWithOpenGL() { if (has(Keys.OpenGLCompatibility())) { CFBoolean val = get(Keys.OpenGLCompatibility(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 4.0 and later. */ public CVPixelFormatDescription setCompatibleWithOpenGL(boolean compatibleWithOpenGL) { set(Keys.OpenGLCompatibility(), CFBoolean.valueOf(compatibleWithOpenGL)); return this; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean isCompatibleWithOpenGL() { if (has(Keys.OpenGLCompatibility())) { CFBoolean val = get(Keys.OpenGLCompatibility(), CFBoolean.class); return val.booleanValue(); } return false; } /**
/** * @since Available in iOS 4.0 and later. */ public CVPixelFormatDescription setCompatibleWithOpenGL(boolean compatibleWithOpenGL) { set(Keys.OpenGLCompatibility(), CFBoolean.valueOf(compatibleWithOpenGL)); return this; } /**
/** * @since Available in iOS 4.0 and later. */ public boolean isCompatibleWithOpenGL() { if (has(Keys.OpenGLCompatibility())) { CFBoolean val = get(Keys.OpenGLCompatibility(), CFBoolean.class); return val.booleanValue(); } return false; } /**