public MTLRenderPipelineState newRenderPipelineState(MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options) throws NSErrorException { return newRenderPipelineState(descriptor, options, (MTLRenderPipelineReflection.MTLRenderPipelineReflectionPtr)null); } public MTLComputePipelineState newComputePipelineState(MTLFunction computeFunction, MTLPipelineOption options) throws NSErrorException {
public MTLRenderPipelineState newRenderPipelineState(MTLRenderPipelineDescriptor descriptor) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); MTLRenderPipelineState result = newRenderPipelineState(descriptor, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "newRenderPipelineStateWithDescriptor:error:")
@Method(selector = "newRenderPipelineStateWithDescriptor:completionHandler:") public native void newRenderPipelineState(MTLRenderPipelineDescriptor descriptor, @Block VoidBlock2<MTLRenderPipelineState, NSError> completionHandler); @Method(selector = "newRenderPipelineStateWithDescriptor:options:completionHandler:")
public MTLRenderPipelineState newRenderPipelineState(MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options) throws NSErrorException { return newRenderPipelineState(descriptor, options, (MTLRenderPipelineReflection.MTLRenderPipelineReflectionPtr)null); } public MTLComputePipelineState newComputePipelineState(MTLFunction computeFunction, MTLPipelineOption options) throws NSErrorException {
public MTLRenderPipelineState newRenderPipelineState(MTLRenderPipelineDescriptor descriptor, MTLPipelineOption options) throws NSErrorException { return newRenderPipelineState(descriptor, options, (MTLRenderPipelineReflection.MTLRenderPipelineReflectionPtr)null); } public MTLComputePipelineState newComputePipelineState(MTLFunction computeFunction, MTLPipelineOption options) throws NSErrorException {
/** * @since Available in iOS 11.0 and later. */ public MTLRenderPipelineState newRenderPipelineState(MTLTileRenderPipelineDescriptor descriptor, MTLPipelineOption options, MTLRenderPipelineReflection.MTLRenderPipelineReflectionPtr reflection) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); MTLRenderPipelineState result = newRenderPipelineState(descriptor, options, reflection, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
public MTLRenderPipelineState newRenderPipelineState(MTLRenderPipelineDescriptor descriptor) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); MTLRenderPipelineState result = newRenderPipelineState(descriptor, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "newRenderPipelineStateWithDescriptor:error:")
public MTLRenderPipelineState newRenderPipelineState(MTLRenderPipelineDescriptor descriptor) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); MTLRenderPipelineState result = newRenderPipelineState(descriptor, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } @Method(selector = "newRenderPipelineStateWithDescriptor:error:")
/** * @since Available in iOS 11.0 and later. */ public MTLRenderPipelineState newRenderPipelineState(MTLTileRenderPipelineDescriptor descriptor, MTLPipelineOption options, MTLRenderPipelineReflection.MTLRenderPipelineReflectionPtr reflection) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); MTLRenderPipelineState result = newRenderPipelineState(descriptor, options, reflection, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
@Method(selector = "newRenderPipelineStateWithDescriptor:completionHandler:") public native void newRenderPipelineState(MTLRenderPipelineDescriptor descriptor, @Block VoidBlock2<MTLRenderPipelineState, NSError> completionHandler); @Method(selector = "newRenderPipelineStateWithDescriptor:options:completionHandler:")
@Method(selector = "newRenderPipelineStateWithDescriptor:completionHandler:") public native void newRenderPipelineState(MTLRenderPipelineDescriptor descriptor, @Block VoidBlock2<MTLRenderPipelineState, NSError> completionHandler); @Method(selector = "newRenderPipelineStateWithDescriptor:options:completionHandler:")