public static GLKTextureInfo createTexture(NSData data, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = createTexture(data, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "textureWithContentsOfData:options:error:")
public GLKTextureLoader(EAGLSharegroup sharegroup) { super((SkipInit) null); initObject(init(sharegroup)); } /*</constructors>*/
public static GLKTextureInfo loadCubeMap(List<String> paths, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = loadCubeMap(paths, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "cubeMapWithContentsOfFiles:options:error:")
public static GLKTextureInfo loadTexture(String path, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = loadTexture(path, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "textureWithContentsOfFile:options:error:")
@Method(selector = "textureWithContentsOfURL:options:error:") private static native GLKTextureInfo loadTexture(NSURL url, GLKTextureLoaderOptions options, NSError.NSErrorPtr outError); public static GLKTextureInfo createTexture(NSData data, GLKTextureLoaderOptions options) throws NSErrorException {
@Method(selector = "initWithSharegroup:") public GLKTextureLoader(EAGLSharegroup sharegroup) { super((SkipInit) null); initObject(init(sharegroup)); } /*</constructors>*/
public static GLKTextureInfo loadCubeMap(String path, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = loadCubeMap(path, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "cubeMapWithContentsOfFile:options:error:")
@Method(selector = "textureWithCGImage:options:error:") private static native GLKTextureInfo createTexture(CGImage cgImage, GLKTextureLoaderOptions options, NSError.NSErrorPtr outError); public static GLKTextureInfo loadCubeMap(List<String> paths, GLKTextureLoaderOptions options) throws NSErrorException {
public static GLKTextureInfo loadTexture(String path, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = loadTexture(path, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "textureWithContentsOfFile:options:error:")
@Method(selector = "initWithSharegroup:") public GLKTextureLoader(EAGLSharegroup sharegroup) { super((SkipInit) null); initObject(init(sharegroup)); } /*</constructors>*/
@Method(selector = "cubeMapWithContentsOfURL:options:error:") private static native GLKTextureInfo loadCubeMap(NSURL url, GLKTextureLoaderOptions options, NSError.NSErrorPtr outError); /*</methods>*/
public static GLKTextureInfo createTexture(String name, @MachineSizedFloat double scaleFactor, NSBundle bundle, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = createTexture(name, scaleFactor, bundle, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "textureWithName:scaleFactor:bundle:options:error:")
public static GLKTextureInfo loadTexture(String path, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = loadTexture(path, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "textureWithContentsOfFile:options:error:")
public static GLKTextureInfo loadCubeMap(List<String> paths, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = loadCubeMap(paths, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "cubeMapWithContentsOfFiles:options:error:")
public static GLKTextureInfo createTexture(String name, @MachineSizedFloat double scaleFactor, NSBundle bundle, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = createTexture(name, scaleFactor, bundle, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "textureWithName:scaleFactor:bundle:options:error:")
@Method(selector = "textureWithContentsOfURL:options:error:") private static native GLKTextureInfo loadTexture(NSURL url, GLKTextureLoaderOptions options, NSError.NSErrorPtr outError); public static GLKTextureInfo createTexture(String name, @MachineSizedFloat double scaleFactor, NSBundle bundle, GLKTextureLoaderOptions options) throws NSErrorException {
public static GLKTextureInfo loadCubeMap(List<String> paths, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = loadCubeMap(paths, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "cubeMapWithContentsOfFiles:options:error:")
public static GLKTextureInfo createTexture(NSData data, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = createTexture(data, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "textureWithContentsOfData:options:error:")
@Method(selector = "textureWithContentsOfURL:options:error:") private static native GLKTextureInfo loadTexture(NSURL url, GLKTextureLoaderOptions options, NSError.NSErrorPtr outError); public static GLKTextureInfo createTexture(String name, @MachineSizedFloat double scaleFactor, NSBundle bundle, GLKTextureLoaderOptions options) throws NSErrorException {
public static GLKTextureInfo loadCubeMap(String path, GLKTextureLoaderOptions options) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); GLKTextureInfo result = loadCubeMap(path, options, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "cubeMapWithContentsOfFile:options:error:")