Skip to content

Instantly share code, notes, and snippets.

Avatar

Eric O'Connell drd

  • Portland, OR
View GitHub Profile
@codelynx
codelynx / MTLTexture+Z.swift
Created Dec 28, 2016
Piece of Utility code to make CGImage from MTLTexture under (BGRA8Unorm)
View MTLTexture+Z.swift
//
// MTLTexture+Z.swift
// ZKit
//
// The MIT License (MIT)
//
// Copyright (c) 2016 Electricwoods LLC, Kaz Yoshikawa.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal