3#include <common/aglTextureData.h>
4#include <gfx/cafe/seadFrameBufferCafe.h>
5#include <basis/seadAssert.h>
42 if (mMipLevel != mip_level)
44 mMipLevel = mip_level;
87 void bind(s32 target_index)
const;
101static_assert(
sizeof(
RenderTargetColor) == 0x154,
"agl::RenderTargetColor size mismatch");
135static_assert(
sizeof(
RenderTargetDepth) == 0x160,
"agl::RenderTargetDepth size mismatch");
141#include <common/aglRenderTarget.hpp>
Definition aglRenderBuffer.h:15
Definition aglRenderTarget.h:66
RenderTargetColor(const TextureData &texture_data, u32 mip_level, u32 slice)
bool mIsMSAA2D
Definition aglRenderTarget.h:93
void expandAuxBuffer() const
Definition aglRenderTarget.hpp:95
void copyToDisplayBuffer(const sead::DisplayBufferCafe *display_buffer) const
Definition aglRenderTarget.hpp:46
void * mpAuxBuffer
Definition aglRenderTarget.h:96
void invalidateGPUCache() const
Definition aglRenderTarget.cpp:28
void copyToDisplayBuffer(GX2ScanTarget scan_target) const
Definition aglRenderTarget.hpp:56
u32 getAuxBufferSize() const
Definition aglRenderTarget.h:74
void initRegs_() const
Definition aglRenderTarget.cpp:37
u32 getAuxBufferAlign() const
Definition aglRenderTarget.h:75
GX2ColorBuffer mInnerBuffer
Definition aglRenderTarget.h:97
RenderTargetColor()
Definition aglRenderTarget.cpp:17
void bind(s32 target_index) const
Definition aglRenderTarget.hpp:111
u32 mAuxBufferSize
Definition aglRenderTarget.h:94
void onApplyTextureData_()
Definition aglRenderTarget.cpp:6
u32 mAuxBufferAlign
Definition aglRenderTarget.h:95
Definition aglRenderTarget.h:104
u32 mHiZBufferSize
Definition aglRenderTarget.h:128
u32 mHiZBufferAlign
Definition aglRenderTarget.h:129
void * mpHiZBuffer
Definition aglRenderTarget.h:130
u32 getHiZBufferAlign() const
Definition aglRenderTarget.h:113
void bind() const
Definition aglRenderTarget.hpp:139
GX2DepthBuffer mInnerBuffer
Definition aglRenderTarget.h:131
RenderTargetDepth()
Definition aglRenderTarget.cpp:54
void onApplyTextureData_()
Definition aglRenderTarget.cpp:46
u32 getHiZBufferSize() const
Definition aglRenderTarget.h:112
RenderTargetDepth(const TextureData &texture_data, u32 mip_level, u32 slice)
void expandHiZBuffer() const
Definition aglRenderTarget.hpp:123
void invalidateGPUCache() const
void initRegs_() const
Definition aglRenderTarget.cpp:65
Definition aglRenderTarget.h:11
const TextureData & getTextureData() const
Definition aglRenderTarget.h:25
u32 mMipLevel
Definition aglRenderTarget.h:58
u32 getMipLevel() const
Definition aglRenderTarget.h:27
void applyTextureData_(const TextureData &texture_data, u32 mip_level, u32 slice)
Definition aglRenderTarget.hpp:36
TextureData & getTextureData()
Definition aglRenderTarget.h:24
void applyTextureData(const TextureData &texture_data, u32 mip_level, u32 slice)
Definition aglRenderTarget.hpp:14
u32 mSlice
Definition aglRenderTarget.h:59
u32 getSlice() const
Definition aglRenderTarget.h:28
TextureData mTextureData
Definition aglRenderTarget.h:56
void applyTextureData(const TextureData &texture_data)
Definition aglRenderTarget.hpp:8
static const u32 cMipLevelMax
Definition aglRenderTarget.h:13
void setMipLevel(u32 mip_level)
Definition aglRenderTarget.h:39
RenderTarget()
Definition aglRenderTarget.h:16
bool mUpdateRegs
Definition aglRenderTarget.h:57
void setSlice(u32 slice)
Definition aglRenderTarget.h:30
Definition aglTextureData.h:11
Definition seadFrameBufferCafe.h:52
Definition aglDisplayList.cpp:5
Definition seadAssert.h:44
#define SEAD_ASSERT(condition)
Definition seadAssert.h:24