UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

43 lines 1.09 kB
export class TextureResourceDescriptor extends ResourceDescriptor { static from({ height, width, format, channel_count, initial_state }: { height?: number; width?: number; format?: BinaryDataType; channel_count?: number; initial_state?: number; }): TextureResourceDescriptor; /** * * @type {number} */ height: number; /** * * @type {number} */ width: number; /** * Render texture type * @type {BinaryDataType} */ format: BinaryDataType; /** * * @type {number} */ channel_count: number; /** * What should the texture be initialized to * @type {number} */ initial_state: number; /** * * @param {TextureResourceDescriptor} other * @returns {boolean} */ equals(other: TextureResourceDescriptor): boolean; } import { ResourceDescriptor } from "./ResourceDescriptor.js"; import { BinaryDataType } from "../../../../../core/binary/type/BinaryDataType.js"; //# sourceMappingURL=TextureResourceDescriptor.d.ts.map