@types/three
Version:
TypeScript definitions for three
25 lines (15 loc) • 667 B
TypeScript
import Node from "../core/Node.js";
import TempNode from "../core/TempNode.js";
declare class BitcastNode extends TempNode {
valueNode: Node;
conversionType: string;
inputType: string | null;
readonly isBitcastNode: true;
constructor(valueNode: Node, conversionType: string, inputType: string | null);
}
export default BitcastNode;
export const bitcast: (x: Node | number, y: string) => BitcastNode;
export const floatBitsToInt: (value: Node) => BitcastNode;
export const floatBitsToUint: (value: Node) => BitcastNode;
export const intBitsToFloat: (value: Node) => BitcastNode;
export const uintBitsToFloat: (value: Node) => BitcastNode;