New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
CaptureRenderBuffer.h
Go to the documentation of this file.
1#pragma once
2
3#include <common/aglRenderBuffer.h>
4#include <common/aglRenderTarget.h>
5
7{
8public:
15 static_assert(sizeof(TextureInfo) == 0xC);
16
17public:
21
23 {
24 return mColorTexture;
25 }
26
28 {
29 return mDepthTexture;
30 }
31
33 {
34 return mRenderBuffer;
35 }
36
38 {
39 return mRenderBuffer;
40 }
41
43 {
44 return mInfo;
45 }
46
47 const TextureInfo& getInfo() const
48 {
49 return mInfo;
50 }
51
52 // Address: 0x024D5D3C
53 void initColor(sead::Heap* heap);
54 // Address: 0x024D5DC8
55 void initDepth(sead::Heap* heap);
56
57private:
66};
67static_assert(sizeof(CaptureRenderBuffer) == 0x450);
Definition CaptureRenderBuffer.h:7
u8 * mDepthImage
Definition CaptureRenderBuffer.h:63
const TextureInfo & getInfo() const
Definition CaptureRenderBuffer.h:47
const agl::TextureData & getDepthTexture() const
Definition CaptureRenderBuffer.h:27
u8 * mColorImage
Definition CaptureRenderBuffer.h:60
agl::RenderBuffer mRenderBuffer
Definition CaptureRenderBuffer.h:64
agl::RenderBuffer & getRenderBuffer()
Definition CaptureRenderBuffer.h:32
const agl::TextureData & getColorTexture() const
Definition CaptureRenderBuffer.h:22
TextureInfo mInfo
Definition CaptureRenderBuffer.h:65
void initDepth(sead::Heap *heap)
const agl::RenderBuffer & getRenderBuffer() const
Definition CaptureRenderBuffer.h:37
CaptureRenderBuffer()
Definition CaptureRenderBuffer.h:18
agl::TextureData mDepthTexture
Definition CaptureRenderBuffer.h:62
agl::RenderTargetColor mColorTarget
Definition CaptureRenderBuffer.h:58
TextureInfo & getInfo()
Definition CaptureRenderBuffer.h:42
agl::TextureData mColorTexture
Definition CaptureRenderBuffer.h:59
void initColor(sead::Heap *heap)
agl::RenderTargetDepth mDepthTarget
Definition CaptureRenderBuffer.h:61
Definition CaptureRenderBuffer.h:10
u32 height
Definition CaptureRenderBuffer.h:12
agl::TextureFormat format
Definition CaptureRenderBuffer.h:13
u32 width
Definition CaptureRenderBuffer.h:11