diff --git a/include/gx2r/buffer.h b/include/gx2r/buffer.h index 079e0f6..bee7a3d 100644 --- a/include/gx2r/buffer.h +++ b/include/gx2r/buffer.h @@ -60,6 +60,21 @@ 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); + #ifdef __cplusplus } #endif diff --git a/rpl/libgx2/exports.h b/rpl/libgx2/exports.h index af82bf9..660b866 100644 --- a/rpl/libgx2/exports.h +++ b/rpl/libgx2/exports.h @@ -210,5 +210,7 @@ EXPORT(GX2RGetBufferAllocationSize); EXPORT(GX2RInvalidateBuffer); EXPORT(GX2RLockBufferEx); EXPORT(GX2RUnlockBufferEx); +EXPORT(GX2RSetVertexUniformBlock); +EXPORT(GX2RSetPixelUniformBlock); +EXPORT(GX2RSetGeometryUniformBlock); -// gx2r/resource.h