diff --git a/_2displaylist_8h.html b/_2displaylist_8h.html new file mode 100644 index 0000000..aab45be --- /dev/null +++ b/_2displaylist_8h.html @@ -0,0 +1,126 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2r/displaylist.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs | +Functions
+
+
displaylist.h File Reference
+
+
+
#include <wut.h>
+#include "resource.h"
+
+

Go to the source code of this file.

+ + + + +

+Typedefs

typedef struct GX2RBuffer GX2RBuffer
 
+ + + + + + + + + +

+Functions

void GX2RBeginDisplayListEx (GX2RBuffer *displayList, uint32_t unknown, GX2RResourceFlags flags)
 
uint32_t GX2REndDisplayList (GX2RBuffer *displayList)
 
void GX2RCallDisplayList (GX2RBuffer *displayList, uint32_t size)
 
void GX2RDirectCallDisplayList (GX2RBuffer *displayList, uint32_t size)
 
+
+ + + + diff --git a/_2displaylist_8h_source.html b/_2displaylist_8h_source.html new file mode 100644 index 0000000..b947501 --- /dev/null +++ b/_2displaylist_8h_source.html @@ -0,0 +1,141 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2r/displaylist.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
displaylist.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "resource.h"
+
4 
+
11 #ifdef __cplusplus
+
12 extern "C" {
+
13 #endif
+
14 
+
15 typedef struct GX2RBuffer GX2RBuffer;
+
16 
+
17 void
+ +
19  uint32_t unknown,
+ +
21 
+
22 uint32_t
+
23 GX2REndDisplayList(GX2RBuffer *displayList);
+
24 
+
25 void
+
26 GX2RCallDisplayList(GX2RBuffer *displayList,
+
27  uint32_t size);
+
28 
+
29 void
+ +
31  uint32_t size);
+
32 
+
33 #ifdef __cplusplus
+
34 }
+
35 #endif
+
36 
+
uint32_t GX2REndDisplayList(GX2RBuffer *displayList)
+
GX2RResourceFlags flags
Definition: buffer.h:19
+
void GX2RDirectCallDisplayList(GX2RBuffer *displayList, uint32_t size)
+ +
void GX2RBeginDisplayListEx(GX2RBuffer *displayList, uint32_t unknown, GX2RResourceFlags flags)
+ +
void GX2RCallDisplayList(GX2RBuffer *displayList, uint32_t size)
+ +
GX2RResourceFlags
Definition: resource.h:14
+
+ + + + diff --git a/_2draw_8h.html b/_2draw_8h.html new file mode 100644 index 0000000..3661ffd --- /dev/null +++ b/_2draw_8h.html @@ -0,0 +1,123 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2r/draw.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs | +Functions
+
+
draw.h File Reference
+
+
+
#include <wut.h>
+#include <gx2/enum.h>
+#include "resource.h"
+
+

Go to the source code of this file.

+ + + + +

+Typedefs

typedef struct GX2RBuffer GX2RBuffer
 
+ + + + + +

+Functions

void GX2RSetAttributeBuffer (GX2RBuffer *buffer, uint32_t index, uint32_t stride, uint32_t offset)
 
void GX2RDrawIndexed (GX2PrimitiveMode mode, GX2RBuffer *buffer, GX2IndexType indexType, uint32_t count, uint32_t indexOffset, uint32_t vertexOffset, uint32_t numInstances)
 
+
+ + + + diff --git a/_2draw_8h_source.html b/_2draw_8h_source.html new file mode 100644 index 0000000..79c7e61 --- /dev/null +++ b/_2draw_8h_source.html @@ -0,0 +1,141 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2r/draw.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
draw.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include <gx2/enum.h>
+
4 #include "resource.h"
+
5 
+
12 #ifdef __cplusplus
+
13 extern "C" {
+
14 #endif
+
15 
+
16 typedef struct GX2RBuffer GX2RBuffer;
+
17 
+
18 void
+ +
20  uint32_t index,
+
21  uint32_t stride,
+
22  uint32_t offset);
+
23 
+
24 void
+ + +
27  GX2IndexType indexType,
+
28  uint32_t count,
+
29  uint32_t indexOffset,
+
30  uint32_t vertexOffset,
+
31  uint32_t numInstances);
+
32 
+
33 #ifdef __cplusplus
+
34 }
+
35 #endif
+
36 
+
GX2PrimitiveMode
Definition: enum.h:219
+
void * buffer
Definition: buffer.h:22
+
void GX2RDrawIndexed(GX2PrimitiveMode mode, GX2RBuffer *buffer, GX2IndexType indexType, uint32_t count, uint32_t indexOffset, uint32_t vertexOffset, uint32_t numInstances)
+ +
GX2IndexType
Definition: enum.h:169
+
void GX2RSetAttributeBuffer(GX2RBuffer *buffer, uint32_t index, uint32_t stride, uint32_t offset)
+ + + +
+ + + + diff --git a/_2mem_8h.html b/_2mem_8h.html new file mode 100644 index 0000000..959e9ee --- /dev/null +++ b/_2mem_8h.html @@ -0,0 +1,126 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2r/mem.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs | +Functions
+
+
mem.h File Reference
+
+
+
#include <wut.h>
+#include "resource.h"
+
+

Go to the source code of this file.

+ + + + + + +

+Typedefs

typedef void *(* GX2RAllocFunction) (GX2RResourceFlags, uint32_t, uint32_t)
 
typedef void(* GX2RFreeFunction) (GX2RResourceFlags, void *)
 
+ + + + + + + +

+Functions

void GX2RInvalidateMemory (GX2RResourceFlags flags, void *buffer, uint32_t size)
 
BOOL GX2RIsUserMemory (GX2RResourceFlags flags)
 
void GX2RSetAllocator (GX2RAllocFunction allocFn, GX2RFreeFunction freeFn)
 
+
+ + + + diff --git a/_2mem_8h_source.html b/_2mem_8h_source.html new file mode 100644 index 0000000..875947e --- /dev/null +++ b/_2mem_8h_source.html @@ -0,0 +1,140 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2r/mem.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mem.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "resource.h"
+
4 
+
11 #ifdef __cplusplus
+
12 extern "C" {
+
13 #endif
+
14 
+
15 typedef void * (*GX2RAllocFunction)(GX2RResourceFlags, uint32_t, uint32_t);
+
16 typedef void (*GX2RFreeFunction)(GX2RResourceFlags, void *);
+
17 
+
18 void
+
19 GX2RInvalidateMemory(GX2RResourceFlags flags,
+
20  void *buffer,
+
21  uint32_t size);
+
22 
+
23 BOOL
+
24 GX2RIsUserMemory(GX2RResourceFlags flags);
+
25 
+
26 void
+ +
28  GX2RFreeFunction freeFn);
+
29 
+
30 #ifdef __cplusplus
+
31 }
+
32 #endif
+
33 
+
GX2RResourceFlags flags
Definition: buffer.h:19
+
void * buffer
Definition: buffer.h:22
+
void(* GX2RFreeFunction)(GX2RResourceFlags, void *)
Definition: mem.h:16
+
void GX2RSetAllocator(GX2RAllocFunction allocFn, GX2RFreeFunction freeFn)
+ + +
int BOOL
Definition: wut_types.h:5
+
BOOL GX2RIsUserMemory(GX2RResourceFlags flags)
+
void *(* GX2RAllocFunction)(GX2RResourceFlags, uint32_t, uint32_t)
Definition: mem.h:15
+
void GX2RInvalidateMemory(GX2RResourceFlags flags, void *buffer, uint32_t size)
+
GX2RResourceFlags
Definition: resource.h:14
+
+ + + + diff --git a/_2surface_8h.html b/_2surface_8h.html new file mode 100644 index 0000000..33db999 --- /dev/null +++ b/_2surface_8h.html @@ -0,0 +1,132 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2r/surface.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs | +Functions
+
+
surface.h File Reference
+
+
+
#include <wut.h>
+#include "resource.h"
+
+

Go to the source code of this file.

+ + + + +

+Typedefs

typedef struct GX2Surface GX2Surface
 
+ + + + + + + + + + + + + + + +

+Functions

bool GX2RCreateSurface (GX2Surface *surface, GX2RResourceFlags flags)
 
bool GX2RCreateSurfaceUserMemory (GX2Surface *surface, uint8_t *image, uint8_t *mipmap, GX2RResourceFlags flags)
 
void GX2RDestroySurfaceEx (GX2Surface *surface, GX2RResourceFlags flags)
 
BOOL GX2RIsGX2RSurface (GX2RResourceFlags flags)
 
void GX2RInvalidateSurface (GX2Surface *surface, int32_t level, GX2RResourceFlags flags)
 
void * GX2RLockSurfaceEx (GX2Surface *surface, int32_t level, GX2RResourceFlags flags)
 
void GX2RUnlockSurfaceEx (GX2Surface *surface, int32_t level, GX2RResourceFlags flags)
 
+
+ + + + diff --git a/_2surface_8h_source.html b/_2surface_8h_source.html new file mode 100644 index 0000000..f008cb8 --- /dev/null +++ b/_2surface_8h_source.html @@ -0,0 +1,161 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2r/surface.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
surface.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "resource.h"
+
4 
+
11 #ifdef __cplusplus
+
12 extern "C" {
+
13 #endif
+
14 
+
15 typedef struct GX2Surface GX2Surface;
+
16 
+
17 bool
+ +
19  GX2RResourceFlags flags);
+
20 
+
21 bool
+ +
23  uint8_t *image,
+
24  uint8_t *mipmap,
+
25  GX2RResourceFlags flags);
+
26 
+
27 void
+ +
29  GX2RResourceFlags flags);
+
30 
+
31 BOOL
+ +
33 
+
34 void
+ +
36  int32_t level,
+
37  GX2RResourceFlags flags);
+
38 
+
39 void *
+ +
41  int32_t level,
+
42  GX2RResourceFlags flags);
+
43 
+
44 void
+ +
46  int32_t level,
+
47  GX2RResourceFlags flags);
+
48 
+
49 #ifdef __cplusplus
+
50 }
+
51 #endif
+
52 
+
void GX2RInvalidateSurface(GX2Surface *surface, int32_t level, GX2RResourceFlags flags)
+
bool GX2RCreateSurface(GX2Surface *surface, GX2RResourceFlags flags)
+
void * GX2RLockSurfaceEx(GX2Surface *surface, int32_t level, GX2RResourceFlags flags)
+
BOOL GX2RIsGX2RSurface(GX2RResourceFlags flags)
+
void GX2RUnlockSurfaceEx(GX2Surface *surface, int32_t level, GX2RResourceFlags flags)
+
bool GX2RCreateSurfaceUserMemory(GX2Surface *surface, uint8_t *image, uint8_t *mipmap, GX2RResourceFlags flags)
+ + +
void * image
Definition: surface.h:30
+ +
int BOOL
Definition: wut_types.h:5
+
void GX2RDestroySurfaceEx(GX2Surface *surface, GX2RResourceFlags flags)
+
GX2RResourceFlags
Definition: resource.h:14
+
+ + + + diff --git a/alarm_8h_source.html b/alarm_8h_source.html index 336f13e..f0cbb1e 100644 --- a/alarm_8h_source.html +++ b/alarm_8h_source.html @@ -275,7 +275,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
OSWaitAlarm
BOOL OSWaitAlarm(OSAlarm *alarm)
OSAlarm::userData
void * userData
User data set with OSSetAlarmUserData and retrieved with OSGetAlarmUserData.
Definition: alarm.h:93
-
BOOL
int BOOL
Definition: wut_types.h:4
+
BOOL
int BOOL
Definition: wut_types.h:5
OSSetAlarmUserData
void OSSetAlarmUserData(OSAlarm *alarm, void *data)
OSInitAlarmQueue
void OSInitAlarmQueue(OSAlarmQueue *queue)
OSAlarm::context
OSContext * context
The context the alarm was triggered on.
Definition: alarm.h:105
diff --git a/annotated.html b/annotated.html index aa197c2..73290e8 100644 --- a/annotated.html +++ b/annotated.html @@ -90,92 +90,115 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Here are the data structures with brief descriptions:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 CFSAsyncData
 CFSClient
 CFSCmdBlock
 CFSDirectoryEntry
 CFSStat
 CFSStateChangeInfo
 CGX2AAMaskReg
 CGX2AlphaTestReg
 CGX2AlphaToMaskReg
 CGX2AttribStream
 CGX2AttribVar
 CGX2BlendConstantColorReg
 CGX2BlendControlReg
 CGX2ColorBuffer
 CGX2ColorControlReg
 CGX2ContextState
 CGX2DepthBuffer
 CGX2DepthStencilControlReg
 CGX2DisplayListOverrunData
 CGX2FetchShader
 CGX2GeometryShader
 CGX2LineWidthReg
 CGX2LoopVar
 CGX2PixelShader
 CGX2PointLimitsReg
 CGX2PointSizeReg
 CGX2PolygonControlReg
 CGX2PolygonOffsetReg
 CGX2Sampler
 CGX2SamplerVar
 CGX2ScissorReg
 CGX2ShadowState
 CGX2StencilMaskReg
 CGX2Surface
 CGX2TargetChannelMaskReg
 CGX2Texture
 CGX2UniformBlock
 CGX2UniformInitialValue
 CGX2UniformVar
 CGX2VertexShader
 CGX2ViewportReg
 Clinger
 CMEMExpandedHeap
 CMEMFrameHeap
 CMEMFrameHeapState
 CMEMHeapHeader
 CMEMMemoryLink
 CMEMMemoryList
 CMEMUnitHeap
 CMPTask
 CMPTaskInfo
 CMPTaskQueue
 CMPTaskQueueInfo
 COSAlarm
 COSAlarmLink
 COSAlarmQueue
 COSCalendarTime
 COSCondition
 COSContext
 COSCoroutine
 COSEvent
 COSFastCondition
 COSFastMutex
 COSFastMutexLink
 COSFastMutexQueue
 COSMessage
 COSMessageQueue
 COSMutex
 COSMutexLink
 COSMutexQueue
 COSRendezvous
 COSSemaphore
 COSSpinLock
 COSSystemInfo
 COSThread
 COSThreadLink
 COSThreadQueue
 COSThreadSimpleQueue
 Csockaddr
 Csockaddr_storage
 CVPADAccStatus
 CVPADGyroStatus
 CVPADStatus
 CVPADTouchData
 CVPADVec2D
 CVPADVec3D
 CAXInitParams
 CAXProfile
 CAXVoice
 CAXVoiceAdpcm
 CAXVoiceAdpcmLoopData
 CAXVoiceDeviceBusMixData
 CAXVoiceDeviceMixData
 CAXVoiceLink
 CAXVoiceOffsets
 CAXVoiceSrc
 CAXVoiceVeData
 CFSAsyncData
 CFSClient
 CFSCmdBlock
 CFSDirectoryEntry
 CFSMountSource
 CFSStat
 CFSStateChangeInfo
 CGX2AAMaskReg
 CGX2AlphaTestReg
 CGX2AlphaToMaskReg
 CGX2AttribStream
 CGX2AttribVar
 CGX2BlendConstantColorReg
 CGX2BlendControlReg
 CGX2ColorBuffer
 CGX2ColorControlReg
 CGX2ContextState
 CGX2DepthBuffer
 CGX2DepthStencilControlReg
 CGX2DisplayListOverrunData
 CGX2FetchShader
 CGX2GeometryShader
 CGX2LineWidthReg
 CGX2LoopVar
 CGX2PixelShader
 CGX2PointLimitsReg
 CGX2PointSizeReg
 CGX2PolygonControlReg
 CGX2PolygonOffsetReg
 CGX2RBuffer
 CGX2Sampler
 CGX2SamplerVar
 CGX2ScissorReg
 CGX2ShadowState
 CGX2StencilMaskReg
 CGX2Surface
 CGX2TargetChannelMaskReg
 CGX2Texture
 CGX2UniformBlock
 CGX2UniformInitialValue
 CGX2UniformVar
 CGX2VertexShader
 CGX2ViewportReg
 Clinger
 CMCPDevice
 CMCPDeviceList
 CMCPInstallInfo
 CMCPInstallTitleInfo
 CMEMBlockHeap
 CMEMBlockHeapBlock
 CMEMBlockHeapTracking
 CMEMExpandedHeap
 CMEMExpandedHeapBlock
 CMEMExpandedHeapBlockList
 CMEMFrameHeap
 CMEMFrameHeapState
 CMEMHeapHeader
 CMEMMemoryLink
 CMEMMemoryList
 CMEMUnitHeap
 CMEMUnitHeapFreeBlock
 CMPTask
 CMPTaskInfo
 CMPTaskQueue
 CMPTaskQueueInfo
 COSAlarm
 COSAlarmLink
 COSAlarmQueue
 COSCalendarTime
 COSCondition
 COSContext
 COSCoroutine
 COSEvent
 COSFastCondition
 COSFastMutex
 COSFastMutexLink
 COSFastMutexQueue
 COSMessage
 COSMessageQueue
 COSMutex
 COSMutexLink
 COSMutexQueue
 COSRendezvous
 COSSemaphore
 COSSpinLock
 COSSystemInfo
 COSThread
 COSThreadLink
 COSThreadQueue
 COSThreadSimpleQueue
 Csockaddr
 Csockaddr_storage
 CVPADAccStatus
 CVPADGyroStatus
 CVPADStatus
 CVPADTouchData
 CVPADVec2D
 CVPADVec3D
diff --git a/atomic64_8h_source.html b/atomic64_8h_source.html index 4bfdd35..7fcab4b 100644 --- a/atomic64_8h_source.html +++ b/atomic64_8h_source.html @@ -156,7 +156,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
wut.h
OSTestAndClearAtomic64
BOOL OSTestAndClearAtomic64(uint64_t *ptr, uint32_t bit)
OSXorAtomic64
uint64_t OSXorAtomic64(uint64_t *ptr, uint64_t value)
-
BOOL
int BOOL
Definition: wut_types.h:4
+
BOOL
int BOOL
Definition: wut_types.h:5
OSAddAtomic64
int64_t OSAddAtomic64(int64_t *ptr, int64_t value)
OSOrAtomic64
uint64_t OSOrAtomic64(uint64_t *ptr, uint64_t value)
OSCompareAndSwapAtomicEx64
BOOL OSCompareAndSwapAtomicEx64(uint64_t *ptr, uint64_t compare, uint64_t value, uint64_t *old)
diff --git a/blockheap_8h.html b/blockheap_8h.html new file mode 100644 index 0000000..1962d28 --- /dev/null +++ b/blockheap_8h.html @@ -0,0 +1,150 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/blockheap.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+Data Structures | +Typedefs | +Functions
+
+
blockheap.h File Reference
+
+
+
#include <wut.h>
+#include "memheap.h"
+
+

Go to the source code of this file.

+ + + + + + + + +

+Data Structures

struct  MEMBlockHeapTracking
 
struct  MEMBlockHeapBlock
 
struct  MEMBlockHeap
 
+ + + + + + + +

+Typedefs

typedef struct MEMBlockHeapBlock MEMBlockHeapBlock
 
typedef struct MEMBlockHeapTracking MEMBlockHeapTracking
 
typedef struct MEMBlockHeap MEMBlockHeap
 
+ + + + + + + + + + + + + + + + + + + +

+Functions

MEMBlockHeapMEMInitBlockHeap (MEMBlockHeap *heap, void *start, void *end, MEMBlockHeapTracking *blocks, uint32_t size, uint32_t flags)
 
void * MEMDestroyBlockHeap (MEMBlockHeap *heap)
 
int MEMAddBlockHeapTracking (MEMBlockHeap *heap, MEMBlockHeapTracking *tracking, uint32_t size)
 
void * MEMAllocFromBlockHeapAt (MEMBlockHeap *heap, void *addr, uint32_t size)
 
void * MEMAllocFromBlockHeapEx (MEMBlockHeap *heap, uint32_t size, int32_t align)
 
void MEMFreeToBlockHeap (MEMBlockHeap *heap, void *data)
 
uint32_t MEMGetAllocatableSizeForBlockHeapEx (MEMBlockHeap *heap, int32_t align)
 
uint32_t MEMGetTrackingLeftInBlockHeap (MEMBlockHeap *heap)
 
uint32_t MEMGetTotalFreeSizeForBlockHeap (MEMBlockHeap *heap)
 
+
+ + + + diff --git a/blockheap_8h_source.html b/blockheap_8h_source.html new file mode 100644 index 0000000..2df88c7 --- /dev/null +++ b/blockheap_8h_source.html @@ -0,0 +1,244 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/coreinit/blockheap.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
blockheap.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "memheap.h"
+
4 
+
11 #ifdef __cplusplus
+
12 extern "C" {
+
13 #endif
+
14 
+ + +
17 typedef struct MEMBlockHeap MEMBlockHeap;
+
18 
+ +
20 {
+
21  UNKNOWN(0x8);
+
22 
+ +
25 
+
27  uint32_t blockCount;
+
28 };
+
29 CHECK_OFFSET(MEMBlockHeapTracking, 0x08, blocks);
+
30 CHECK_OFFSET(MEMBlockHeapTracking, 0x0C, blockCount);
+
31 CHECK_SIZE(MEMBlockHeapTracking, 0x10);
+
32 
+ +
34 {
+
36  void *start;
+
37 
+
39  void *end;
+
40 
+ +
43 
+ +
46 
+ +
49 };
+
50 CHECK_OFFSET(MEMBlockHeapBlock, 0x00, start);
+
51 CHECK_OFFSET(MEMBlockHeapBlock, 0x04, end);
+
52 CHECK_OFFSET(MEMBlockHeapBlock, 0x08, isFree);
+
53 CHECK_OFFSET(MEMBlockHeapBlock, 0x0c, prev);
+
54 CHECK_OFFSET(MEMBlockHeapBlock, 0x10, next);
+
55 CHECK_SIZE(MEMBlockHeapBlock, 0x14);
+
56 
+ +
58 {
+ +
60 
+ +
63 
+ +
66 
+ +
69 
+ +
72 
+ +
75 
+
77  uint32_t numFreeBlocks;
+
78 };
+
79 CHECK_OFFSET(MEMBlockHeap, 0x00, header);
+
80 CHECK_OFFSET(MEMBlockHeap, 0x40, defaultTrack);
+
81 CHECK_OFFSET(MEMBlockHeap, 0x50, defaultBlock);
+
82 CHECK_OFFSET(MEMBlockHeap, 0x64, firstBlock);
+
83 CHECK_OFFSET(MEMBlockHeap, 0x68, lastBlock);
+
84 CHECK_OFFSET(MEMBlockHeap, 0x6C, firstFreeBlock);
+
85 CHECK_OFFSET(MEMBlockHeap, 0x70, numFreeBlocks);
+
86 CHECK_SIZE(MEMBlockHeap, 0x74);
+
87 
+ + +
90  void *start,
+
91  void *end,
+
92  MEMBlockHeapTracking *blocks,
+
93  uint32_t size,
+
94  uint32_t flags);
+
95 
+
96 void *
+ +
98 
+
99 int
+ +
101  MEMBlockHeapTracking *tracking,
+
102  uint32_t size);
+
103 
+
104 void *
+ +
106  void *addr,
+
107  uint32_t size);
+
108 
+
109 void *
+ +
111  uint32_t size,
+
112  int32_t align);
+
113 
+
114 void
+ +
116  void *data);
+
117 
+
118 uint32_t
+ +
120  int32_t align);
+
121 
+
122 uint32_t
+ +
124 
+
125 uint32_t
+ +
127 
+
128 #ifdef __cplusplus
+
129 }
+
130 #endif
+
131 
+
uint32_t MEMGetAllocatableSizeForBlockHeapEx(MEMBlockHeap *heap, int32_t align)
+
MEMBlockHeap * MEMInitBlockHeap(MEMBlockHeap *heap, void *start, void *end, MEMBlockHeapTracking *blocks, uint32_t size, uint32_t flags)
+
MEMBlockHeapBlock defaultBlock
Default block, used so we don't have an empty block list.
Definition: blockheap.h:65
+
MEMBlockHeapTracking defaultTrack
Default tracking heap, tracks only defaultBlock.
Definition: blockheap.h:62
+
uint32_t blockCount
Number of blocks in this tracking heap.
Definition: blockheap.h:27
+
void * start
First address of the data region this block has allocated.
Definition: blockheap.h:36
+
MEMBlockHeapBlock * blocks
Pointer to first memory block.
Definition: blockheap.h:24
+
MEMBlockHeapBlock * lastBlock
Last block in this heap.
Definition: blockheap.h:71
+ +
void * MEMAllocFromBlockHeapEx(MEMBlockHeap *heap, uint32_t size, int32_t align)
+ +
MEMBlockHeapBlock * prev
Link to previous block, note that this is only set for allocated blocks.
Definition: blockheap.h:45
+ + +
void * MEMAllocFromBlockHeapAt(MEMBlockHeap *heap, void *addr, uint32_t size)
+
int MEMAddBlockHeapTracking(MEMBlockHeap *heap, MEMBlockHeapTracking *tracking, uint32_t size)
+
uint32_t MEMGetTrackingLeftInBlockHeap(MEMBlockHeap *heap)
+
uint32_t MEMGetTotalFreeSizeForBlockHeap(MEMBlockHeap *heap)
+
void * end
End address of the data region this block has allocated.
Definition: blockheap.h:39
+ +
BOOL isFree
TRUE if the block is free, FALSE if allocated.
Definition: blockheap.h:42
+
int BOOL
Definition: wut_types.h:5
+
void * MEMDestroyBlockHeap(MEMBlockHeap *heap)
+
MEMBlockHeapBlock * firstFreeBlock
First free block.
Definition: blockheap.h:74
+
MEMHeapHeader header
Definition: blockheap.h:59
+
MEMBlockHeapBlock * next
Link to next block, always set.
Definition: blockheap.h:48
+
void MEMFreeToBlockHeap(MEMBlockHeap *heap, void *data)
+
MEMBlockHeapBlock * firstBlock
First block in this heap.
Definition: blockheap.h:68
+ +
uint32_t numFreeBlocks
Free block count.
Definition: blockheap.h:77
+
+ + + + diff --git a/buffer_8h.html b/buffer_8h.html new file mode 100644 index 0000000..18601c0 --- /dev/null +++ b/buffer_8h.html @@ -0,0 +1,148 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2r/buffer.h File Reference + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+Data Structures | +Typedefs | +Functions
+
+
buffer.h File Reference
+
+
+
#include <wut.h>
+#include "resource.h"
+
+

Go to the source code of this file.

+ + + + +

+Data Structures

struct  GX2RBuffer
 
+ + + +

+Typedefs

typedef struct GX2RBuffer GX2RBuffer
 
+ + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

BOOL GX2RBufferExists (GX2RBuffer *buffer)
 
BOOL GX2RCreateBuffer (GX2RBuffer *buffer)
 
BOOL GX2RCreateBufferUserMemory (GX2RBuffer *buffer, void *memory, uint32_t size)
 
void GX2RDestroyBufferEx (GX2RBuffer *buffer, GX2RResourceFlags flags)
 
uint32_t GX2RGetBufferAlignment (GX2RResourceFlags flags)
 
uint32_t GX2RGetBufferAllocationSize (GX2RBuffer *buffer)
 
void GX2RInvalidateBuffer (GX2RBuffer *buffer, GX2RResourceFlags flags)
 
void * GX2RLockBufferEx (GX2RBuffer *buffer, GX2RResourceFlags flags)
 
void GX2RUnlockBufferEx (GX2RBuffer *buffer, GX2RResourceFlags flags)
 
void GX2RSetVertexUniformBlock (GX2RBuffer *buffer, uint32_t location, uint32_t offset)
 
void GX2RSetPixelUniformBlock (GX2RBuffer *buffer, uint32_t location, uint32_t offset)
 
void GX2RSetGeometryUniformBlock (GX2RBuffer *buffer, uint32_t location, uint32_t offset)
 
+
+ + + + diff --git a/buffer_8h_source.html b/buffer_8h_source.html new file mode 100644 index 0000000..015a66d --- /dev/null +++ b/buffer_8h_source.html @@ -0,0 +1,198 @@ + + + + + + +WUT: D:/Programming/Projects/wut/include/gx2r/buffer.h Source File + + + + + + + + + + +
+
+ + + + + + +
+
WUT +  0.1 +
+
Wii U Toolchain
+
+
+ + + + + + +
+
+ + +
+ +
+ + +
+
+
+
buffer.h
+
+
+Go to the documentation of this file.
1 #pragma once
+
2 #include <wut.h>
+
3 #include "resource.h"
+
4 
+
11 #ifdef __cplusplus
+
12 extern "C" {
+
13 #endif
+
14 
+
15 typedef struct GX2RBuffer GX2RBuffer;
+
16 
+
17 struct GX2RBuffer
+
18 {
+ +
20  uint32_t elemSize;
+
21  uint32_t elemCount;
+
22  void *buffer;
+
23 };
+
24 CHECK_SIZE(GX2RBuffer, 0x10);
+
25 CHECK_OFFSET(GX2RBuffer, 0x00, flags);
+
26 CHECK_OFFSET(GX2RBuffer, 0x04, elemSize);
+
27 CHECK_OFFSET(GX2RBuffer, 0x08, elemCount);
+
28 CHECK_OFFSET(GX2RBuffer, 0x0C, buffer);
+
29 
+
30 BOOL
+ +
32 
+
33 BOOL
+ +
35 
+
36 BOOL
+ +
38  void *memory,
+
39  uint32_t size);
+
40 
+
41 void
+ +
43  GX2RResourceFlags flags);
+
44 
+
45 uint32_t
+ +
47 
+
48 uint32_t
+ +
50 
+
51 void
+ +
53  GX2RResourceFlags flags);
+
54 
+
55 void *
+ +
57  GX2RResourceFlags flags);
+
58 
+
59 void
+ +
61  GX2RResourceFlags flags);
+
62 
+
63 void
+ +
65  uint32_t location,
+
66  uint32_t offset);
+
67 
+
68 void
+ +
70  uint32_t location,
+
71  uint32_t offset);
+
72 
+
73 void
+ +
75  uint32_t location,
+
76  uint32_t offset);
+
77 
+
78 #ifdef __cplusplus
+
79 }
+
80 #endif
+
81 
+
GX2RResourceFlags flags
Definition: buffer.h:19
+
void * buffer
Definition: buffer.h:22
+
void * GX2RLockBufferEx(GX2RBuffer *buffer, GX2RResourceFlags flags)
+
uint32_t elemCount
Definition: buffer.h:21
+
void GX2RInvalidateBuffer(GX2RBuffer *buffer, GX2RResourceFlags flags)
+
void GX2RSetGeometryUniformBlock(GX2RBuffer *buffer, uint32_t location, uint32_t offset)
+ + +
uint32_t elemSize
Definition: buffer.h:20
+
void GX2RSetPixelUniformBlock(GX2RBuffer *buffer, uint32_t location, uint32_t offset)
+
int BOOL
Definition: wut_types.h:5
+
uint32_t GX2RGetBufferAllocationSize(GX2RBuffer *buffer)
+
void GX2RSetVertexUniformBlock(GX2RBuffer *buffer, uint32_t location, uint32_t offset)
+
BOOL GX2RCreateBufferUserMemory(GX2RBuffer *buffer, void *memory, uint32_t size)
+
BOOL GX2RCreateBuffer(GX2RBuffer *buffer)
+
void GX2RDestroyBufferEx(GX2RBuffer *buffer, GX2RResourceFlags flags)
+
uint32_t GX2RGetBufferAlignment(GX2RResourceFlags flags)
+ +
BOOL GX2RBufferExists(GX2RBuffer *buffer)
+
void GX2RUnlockBufferEx(GX2RBuffer *buffer, GX2RResourceFlags flags)
+
GX2RResourceFlags
Definition: resource.h:14
+
+ + + + diff --git a/classes.html b/classes.html index ba1cc2d..42f4e11 100644 --- a/classes.html +++ b/classes.html @@ -88,39 +88,44 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Data Structure Index
-
F | G | L | M | O | S | V
+
A | F | G | L | M | O | S | V
+ + + + + + + + + + + + + - - - - + + + + + + + + - - - - - - - - - - - - - - - + + +
  A  
+
GX2AlphaTestReg   GX2ShadowState   MEMMemoryLink   OSMutexLink   
GX2AlphaToMaskReg   GX2StencilMaskReg   MEMMemoryList   OSMutexQueue   
AXInitParams   GX2AttribStream   GX2Surface   MEMUnitHeap   OSRendezvous   
AXProfile   GX2AttribVar   GX2TargetChannelMaskReg   MEMUnitHeapFreeBlock   OSSemaphore   
AXVoice   GX2BlendConstantColorReg   GX2Texture   MPTask   OSSpinLock   
AXVoiceAdpcm   GX2BlendControlReg   GX2UniformBlock   MPTaskInfo   OSSystemInfo   
AXVoiceAdpcmLoopData   GX2ColorBuffer   GX2UniformInitialValue   MPTaskQueue   OSThread   
AXVoiceDeviceBusMixData   GX2ColorControlReg   GX2UniformVar   MPTaskQueueInfo   OSThreadLink   
AXVoiceDeviceMixData   GX2ContextState   GX2VertexShader   
  O  
+
OSThreadQueue   
AXVoiceLink   GX2DepthBuffer   GX2ViewportReg   OSThreadSimpleQueue   
AXVoiceOffsets   GX2DepthStencilControlReg   
  M  
+
OSAlarm   
  V  
+
AXVoiceSrc   GX2DisplayListOverrunData   OSAlarmLink   
AXVoiceVeData   GX2FetchShader   MCPDevice   OSAlarmQueue   VPADAccStatus   
  F  
-
GX2DepthBuffer   GX2UniformBlock   OSAlarmLink   OSThread   
GX2DepthStencilControlReg   GX2UniformInitialValue   OSAlarmQueue   OSThreadLink   
FSAsyncData   GX2DisplayListOverrunData   GX2UniformVar   OSCalendarTime   OSThreadQueue   
FSClient   GX2FetchShader   GX2VertexShader   OSCondition   OSThreadSimpleQueue   
FSCmdBlock   GX2GeometryShader   GX2ViewportReg   OSContext   
  V  
+
GX2GeometryShader   MCPDeviceList   OSCalendarTime   VPADGyroStatus   
GX2LineWidthReg   MCPInstallInfo   OSCondition   VPADStatus   
FSAsyncData   GX2LoopVar   MCPInstallTitleInfo   OSContext   VPADTouchData   
FSClient   GX2PixelShader   MEMBlockHeap   OSCoroutine   VPADVec2D   
FSCmdBlock   GX2PointLimitsReg   MEMBlockHeapBlock   OSEvent   VPADVec3D   
FSDirectoryEntry   GX2PointSizeReg   MEMBlockHeapTracking   OSFastCondition   
  l  
+
FSMountSource   GX2PolygonControlReg   MEMExpandedHeap   OSFastMutex   
FSStat   GX2PolygonOffsetReg   MEMExpandedHeapBlock   OSFastMutexLink   linger   
FSStateChangeInfo   GX2RBuffer   MEMExpandedHeapBlockList   OSFastMutexQueue   
  s  
FSDirectoryEntry   GX2LineWidthReg   
  M  
-
OSCoroutine   
FSStat   GX2LoopVar   OSEvent   VPADAccStatus   
FSStateChangeInfo   GX2PixelShader   MEMExpandedHeap   OSFastCondition   VPADGyroStatus   
  G  
-
GX2PointLimitsReg   MEMFrameHeap   OSFastMutex   VPADStatus   
GX2PointSizeReg   MEMFrameHeapState   OSFastMutexLink   VPADTouchData   
GX2AAMaskReg   GX2PolygonControlReg   MEMHeapHeader   OSFastMutexQueue   VPADVec2D   
GX2AlphaTestReg   GX2PolygonOffsetReg   MEMMemoryLink   OSMessage   VPADVec3D   
GX2AlphaToMaskReg   GX2Sampler   MEMMemoryList   OSMessageQueue   
  l  
-
GX2AttribStream   GX2SamplerVar   MEMUnitHeap   OSMutex   
GX2AttribVar   GX2ScissorReg   MPTask   OSMutexLink   linger   
GX2BlendConstantColorReg   GX2ShadowState   MPTaskInfo   OSMutexQueue   
  s  
-
GX2BlendControlReg   GX2StencilMaskReg   MPTaskQueue   OSRendezvous   
GX2ColorBuffer   GX2Surface   MPTaskQueueInfo   OSSemaphore   sockaddr   
GX2ColorControlReg   GX2TargetChannelMaskReg   
  O  
-
OSSpinLock   sockaddr_storage   
GX2ContextState   GX2Texture   OSSystemInfo   
OSAlarm   
GX2Sampler   MEMFrameHeap   OSMessage   
GX2SamplerVar   MEMFrameHeapState   OSMessageQueue   sockaddr   
GX2AAMaskReg   GX2ScissorReg   MEMHeapHeader   OSMutex   sockaddr_storage   
-
F | G | L | M | O | S | V
+
A | F | G | L | M | O | S | V