Vulkan is a low-overhead, cross-platform 3D graphics and compute API.
Vulkan targets high-performance realtime 3D graphics applications such as games and interactive media across multiple platforms providing higher performance and lower CPU usage.
| The MIT License (MIT) | |
| Copyright (c) 2016 Zev Eisenberg | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| this software and associated documentation files (the "Software"), to deal in | |
| the Software without restriction, including without limitation the rights to | |
| use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
| the Software, and to permit persons to whom the Software is furnished to do so, | |
| subject to the following conditions: |
| App | |
| Coordinators // Views management | |
| UI // Grouped by features/viewHierarchy | |
| General // Custom textfield, picker | |
| FeatureA | |
| A.swift | |
| AView.swift | |
| AController.swift | |
| AppExtensions // Specific code for extensions | |
| Watch |
| source ~/.bash_profile | |
| cd ${SRCROOT} | |
| xcodebuild clean | |
| xcodebuild | xcpretty -r json-compilation-database | |
| oclint-json-compilation-database -- -report-type xcode |
| import Cocoa | |
| import XCPlayground | |
| import XCTest | |
| /* | |
| shadow.shadowColor = NSColor.blackColor().colorWithAlphaComponent(1.0) | |
| shadow.shadowOffset = NSMakeSize(0.1, 0.1) | |
| shadow.shadowBlurRadius = 15 | |
| */ | |
| extension NSShadow{ |
| #!/bin/sh | |
| ## | |
| # Install autoconf, automake and libtool smoothly on Mac OS X. | |
| # Newer versions of these libraries are available and may work better on OS X | |
| # | |
| # This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html | |
| # | |
| export build=~/devtools # or wherever you'd like to build |
| // iOS 9 allows you to animate between visual effects, which gives you the | |
| // ability to manipulate the blur radius. this can be useful for animating | |
| // a backdrop for a custom modal, and with a few tricks, can even be set | |
| // indirectly, allowing you to "scrub" between them back and forth with | |
| // a gesture, just like when you pull down Spotlight. | |
| // these are the two effects you want to transition between | |
| UIVisualEffect *startEffect = nil; // "nil" means no blur/tint/vibrancy (plain, fully-transparent view) | |
| UIVisualEffect *endEffect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; |
| // | |
| // MTKCIImageView.swift | |
| // Fil | |
| // | |
| // Created by Muukii on 9/27/15. | |
| // Copyright © 2015 muukii. All rights reserved. | |
| // | |
| import Foundation | |
| import Metal |
| #!/usr/bin/env swift | |
| import Foundation | |
| let args = Process.arguments | |
| if (args.count != 2) { | |
| print("usage: \(args[0].lastPathComponent) <file>\n") | |
| exit(-1) | |
| } |
| #!/usr/bin/env swift | |
| import Foundation | |
| let args = Process.arguments | |
| if (args.count != 2) { | |
| print("usage: \(args[0]) <file>\n") | |
| exit(-1) | |
| } |