Home
fozu的技术站
Cancel

ios - migrating opengl to metal

Tutorial In iOS 8, Apple released its own API for GPU-accelerated 3D graphics: Metal. Metal is similar to OpenGL ES in that it’s a low-level API for interacting with 3D graphics hardware. The di...

ios - lottie json

Ref

gem

gem list --local | grep cocoapods TroubleShooting Updating to latest version of CocoaPods? sudo gem install cocoapods pod setup pod --version How to upgrade rubygems # upgrade gem gem update...

gnu-emacs

download brew install --cask emacs

glsl-vertext shader inputs

wiki User-defined inputs for vertex shaders are called vertex attributes. They are passed via vertex arrays to the vertex shader from data stored in Buffer Objects. Vertex shader inputs have att...

asdisplaynode-draw

ASDisplayNode+Subclasses.h + (nullable UIImage *)displayWithParameters:(nullable id)parameters isCancelled:(AS_NOESCAPE asdisplaynode_iscancelled_block_t)isCancelle...

asdisplaynode-uiviewbridging

ASDisplayNode+UIViewBridge.mm - (BOOL)canBecomeFocused; - (void)setNeedsFocusUpdate; - (void)updateFocusIfNeeded; - (BOOL)shouldUpdateFocusInContext:(UIFocusUpdateContext *)context; - (void)didUpd...

asdisplaynode-pendingviewstate

ASDisplayNode.mm _locked_applyPendingStateToViewOrLayer - (void)_locked_applyPendingStateToViewOrLayer { ASDisplayNodeAssertMainThread(); ASAssertLocked(__instanceLock__); ASDisplayNodeAsse...

asdisplaynode-interfaceState

ASDisplayNode.mm supportsRangeManagedInterfaceState /** * We currently only set interface state on nodes in table/collection views. For other nodes, if they are * in the hierarchy we enable all...

asdisplaynode-gesturerecognizer

ASDisplayNode.mm touchesBegan - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { // Subclass hook } touchesMoved - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)ev...