feat: read stream

This commit is contained in:
TrèsAbhi committed 2024-02-04 17:55:48 -06:00
1 parent 016fe1c3d3
commit 93e405c370
11 files changed
+36 -36

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
import { times } from 'lodash';
import { Vector3Tuple, Vector4Tuple } from 'three';
import { WindowsStream } from './windows';
import { WindowsReadStream } from './windows';
enum DxgiFormat {
UNKNOWN = 0,
@@ -171,7 +171,7 @@ enum DdsCaps2 {
VOLUME = 0x200000,
}
export class DdsStream extends WindowsStream {
export class DdsReadStream extends WindowsReadStream {
async dds() {
this.magicNumber();
const header = this.header();