@awayjs/stage
Version:
Stage for AwayJS
25 lines (24 loc) • 733 B
JavaScript
import { Flags } from '../../aglsl/assembler/Flags';
import { FS } from '../../aglsl/assembler/FS';
/**
*
*/
var Opcode = /** @class */ (function () {
function Opcode(dest, aformat, asize, bformat, bsize, opcode, simple, horizontal, fragonly, matrix) {
this.a = new FS();
this.b = new FS();
this.flags = new Flags();
this.dest = dest;
this.a.format = aformat;
this.a.size = asize;
this.b.format = bformat;
this.b.size = bsize;
this.opcode = opcode;
this.flags.simple = simple;
this.flags.horizontal = horizontal;
this.flags.fragonly = fragonly;
this.flags.matrix = matrix;
}
return Opcode;
}());
export { Opcode };