summaryrefslogtreecommitdiff
path: root/include/user/gxm/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/user/gxm/init.h')
-rw-r--r--include/user/gxm/init.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/user/gxm/init.h b/include/user/gxm/init.h
index 6739e2a..8f27a79 100644
--- a/include/user/gxm/init.h
+++ b/include/user/gxm/init.h
@@ -10,6 +10,18 @@
extern "C" {
#endif // def __cplusplus
+/** Flags for libgxm initialization.
+
+ @ingroup render
+*/
+typedef enum SceGxmInitializeFlagsInternal
+{
+ SCE_GXM_INITIALIZE_FLAG_PB_USE_USER_MEMORY = 0x00000001U, ///< Use uncached main memory for the parameter buffer.
+ SCE_GXM_INITIALIZE_FLAG_PBDESCFLAGS_ZLS_OVERRIDE = 0x00000002U,
+ SCE_GXM_INITIALIZE_FLAG_PBDESCFLAGS_SHARED = 0x00000004U, ///< The parameter buffer can be shared between rendering contexts.
+ SCE_GXM_INITIALIZE_FLAG_DRIVER_MEM_SHARE = 0x00000008U ///< Use shared driver memory for the parameter buffer.
+} SceGxmInitializeFlagsInternal;
+
/** Initializes the libgxm library for shared sync objects.
Internally this function will prepare this process for rendering, creating