I hereby claim:
- I am cleod9 on github.
- I am cleod9 (https://keybase.io/cleod9) on keybase.
- I have a public key whose fingerprint is AD8D 62F6 7CAC 9C14 9D1A 340F 8C61 443F DD6F C90D
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*BEGIN TWITTER OEMBED SCRIPT*/ | |
// Define oembed fetch function | |
window.checkTwitterOembed = function checkTwitterOembed() { | |
/* Paste minified Twitter widgets.js here (Get it from https://platform.twitter.com/widgets.js ) */ | |
}; | |
// Perform initial check for twitter oembeds | |
window.checkTwitterOembed(); | |
// Track oldest message in current channel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var Sprite = require ("openfl/display/Sprite").default; | |
var Stage = require ("openfl/display/Stage").default; | |
var Bitmap = require ("openfl/display/Bitmap").default; | |
var BitmapData = require ("openfl/display/BitmapData").default; | |
var Shader = require ("openfl/display/Shader").default; | |
var DisplayObjectShader = require ("openfl/display/DisplayObjectShader").default; | |
var ShaderFilter = require ("openfl/filters/ShaderFilter").default; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
class ForcedAlphaShader extends hxsl.Shader{ | |
static var SRC = { | |
@:import h3d.shader.Base2d; | |
function fragment() { | |
pixelColor.a = 1.0; | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader compilation error | |
<< out >>: error X3000: syntax error: unexpected token 'out' | |
<< tex.GetDimensions(tex, (uint)lod, out w, out h, out levels) >>: error X3013: 'GetDimensions': no matching 0 parameter intrinsic method | |
<< tex.GetDimensions(tex, (uint)lod, out w, out h, out levels) >>: error X3013: Possible intrinsic methods are: | |
<< tex.GetDimensions(tex, (uint)lod, out w, out h, out levels) >>: error X3013: Texture2D<float4>.GetDimensions(uint, out uint width, out uint height, out uint levels) | |
<< tex.GetDimensions(tex, (uint)lod, out w, out h, out levels) >>: error X3013: Texture2D<float4>.GetDimensions(uint, out float|half|min10float|min16float width, out float|half|min10float|min16float height, out float|half|min10float|min16float levels) |