MCPcopy Create free account
hub / github.com/devkitPro/libctru / GX_TextureCopy

Function GX_TextureCopy

libctru/source/gpu/gx.c:90–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90Result GX_TextureCopy(u32* inadr, u32 indim, u32* outadr, u32 outdim, u32 size, u32 flags)
91{
92 u32 gxCommand[0x8];
93 gxCommand[0]=0x01000100 | 0x04; //CommandID
94 gxCommand[1]=(u32)inadr;
95 gxCommand[2]=(u32)outadr;
96 gxCommand[3]=size;
97 gxCommand[4]=indim;
98 gxCommand[5]=outdim;
99 gxCommand[6]=flags;
100 gxCommand[7]=0x0;
101
102 return submitGxCommand(gxCommand);
103}
104
105Result GX_FlushCacheRegions(u32* buf0a, u32 buf0s, u32* buf1a, u32 buf1s, u32* buf2a, u32 buf2s)
106{

Callers

nothing calls this directly

Calls 1

submitGxCommandFunction · 0.85

Tested by

no test coverage detected