mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-06 14:38:13 +01:00
gx2r: Add uniform block GX2RBuffer functions.
This commit is contained in:
parent
b85e35dc7d
commit
c70b7be365
@ -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
|
||||
|
@ -210,5 +210,7 @@ EXPORT(GX2RGetBufferAllocationSize);
|
||||
EXPORT(GX2RInvalidateBuffer);
|
||||
EXPORT(GX2RLockBufferEx);
|
||||
EXPORT(GX2RUnlockBufferEx);
|
||||
EXPORT(GX2RSetVertexUniformBlock);
|
||||
EXPORT(GX2RSetPixelUniformBlock);
|
||||
EXPORT(GX2RSetGeometryUniformBlock);
|
||||
|
||||
// gx2r/resource.h
|
||||
|
Loading…
Reference in New Issue
Block a user