@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
32 lines • 791 B
TypeScript
export class StandardTexture {
/**
*
* @param {Sampler2D} sampler
* @returns {StandardTexture}
*/
static from(sampler: Sampler2D): StandardTexture;
id: number;
/**
* @type {Sampler2D}
*/
sampler: Sampler2D;
magFilter: number;
type: BinaryDataType;
wrapS: number;
wrapT: number;
/**
*
* @param {StandardTexture} other
*/
copy(other: StandardTexture): void;
clone(): StandardTexture;
/**
*
* @param {number[]|Float32Array} out
* @param {number} u
* @param {number} v
*/
sample(out: number[] | Float32Array, u: number, v: number): void;
}
import { BinaryDataType } from "../../../../../core/binary/type/BinaryDataType.js";
//# sourceMappingURL=StandardTexture.d.ts.map