gx2r: Add uniform block GX2RBuffer functions.

This commit is contained in:
James Benton 2016-10-09 20:57:17 +01:00
parent b85e35dc7d
commit c70b7be365
2 changed files with 18 additions and 1 deletions

View File

@ -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

View File

@ -210,5 +210,7 @@ EXPORT(GX2RGetBufferAllocationSize);
EXPORT(GX2RInvalidateBuffer);
EXPORT(GX2RLockBufferEx);
EXPORT(GX2RUnlockBufferEx);
EXPORT(GX2RSetVertexUniformBlock);
EXPORT(GX2RSetPixelUniformBlock);
EXPORT(GX2RSetGeometryUniformBlock);
// gx2r/resource.h