NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
m_3d_capture.hpp
1#pragma once
2#include <lib/egg/heap/eggHeap.hpp>
3#include <lib/rvl/gx/GX.h>
4
5namespace m3d {
6 class capture_c {
7 public:
8 virtual ~capture_c() {}
9
10 bool create(EGG::Heap *heap, u16 width, u16 height, GXTexFmt texFmt,
11 GXTexFilter texFilter, bool texIsHalfSize);
12
13 void remove();
14
15 void capture(u16 width, u16 height, bool texIsHalfSize);
16 void captureEx(u16 width, u16 height, GXTexFmt texFmt, GXTexFmt tex2Fmt, GXTexFilter texFilter,
17 bool texIsHalfSize, u16 srcTexWidth, u16 srcTexHeight, bool srcTexHalfSize);
18
19 GXTexObj mTexObj;
20 void *mTexBuffer;
21 size_t mBufferSize;
22
23 u16 mTexWidth;
24 u16 mTexHeight;
25 GXTexFmt mTexFmt;
26 GXTexFilter mTexFilter;
27 bool mTexIsHalfSize;
28 };
29}
mLib 3D library
Definition anm_chr.hpp:5