@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
22 lines (21 loc) • 818 B
TypeScript
/** This file must only contain pure code and pure imports */
import { NativeDataStream, type NativeData } from "./nativeDataStream.js";
/**
* Validated Native Data Stream
*/
export declare class ValidatedNativeDataStream extends NativeDataStream {
constructor();
writeUint32(value: number): void;
writeInt32(value: number): void;
writeFloat32(value: number): void;
writeUint32Array(values: Uint32Array): void;
writeInt32Array(values: Int32Array): void;
writeFloat32Array(values: Float32Array): void;
writeNativeData(handle: NativeData): void;
writeBoolean(value: boolean): void;
}
/**
* Register side effects for validatedNativeDataStream.
* Safe to call multiple times; only the first call has an effect.
*/
export declare function RegisterValidatedNativeDataStream(): void;