UNPKG

polygonjs-engine

Version:

node-based webgl 3D engine https://polygonjs.com

20 lines (19 loc) 471 B
import { Texture } from 'three/src/textures/Texture'; import { Vector2 } from 'three/src/math/Vector2'; import { Vector3 } from 'three/src/math/Vector3'; import { Color } from 'three/src/math/Color'; export interface IUniformN { value: number; } export interface IUniformV2 { value: Vector2; } export interface IUniformV3 { value: Vector3; } export interface IUniformColor { value: Color; } export interface IUniformTexture { value: Texture | null; }