mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 20:28:32 +09:00
[Feat] (MG_State/GLState): Implement BufferState.
This commit is contained in:
@@ -1 +1,26 @@
|
||||
#include "../../Includes.h"
|
||||
|
||||
namespace MobileGL {
|
||||
namespace MG_State {
|
||||
namespace GLState {
|
||||
Vector<Uint> GLContext::GenBufferNames(Uint number) {
|
||||
return bufferState_.GenerateNames(number);
|
||||
}
|
||||
|
||||
SharedPtr<BufferObject> GLContext::GetBufferObject(Uint index) {
|
||||
return bufferState_.GetBufferObject(index);
|
||||
}
|
||||
|
||||
BindingSlot<BufferObject>& GLContext::GetBufferBindingSort(BufferTarget target) {
|
||||
return bufferState_.GetBindingSlot(target);
|
||||
}
|
||||
|
||||
SharedPtr<BufferObject> GLContext::CreateBufferObject(Uint index) {
|
||||
return bufferState_.CreateBufferObject(index);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
GLState::GLContext* pGLContext;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user