mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 08:42:45 +03:00
feat(gx): add stubs for GxPrimLockVertexPtrs, GxPrimDrawElements, GxPrimUnlockVertexPtrs
This commit is contained in:
parent
7f70ecd225
commit
83c01ba1bb
@ -211,3 +211,15 @@ void GxPrimVertexPtr(CGxBuf* buf, EGxVertexBufferFormat format) {
|
|||||||
g_theGxDevicePtr->PrimVertexMask(desc->mask);
|
g_theGxDevicePtr->PrimVertexMask(desc->mask);
|
||||||
g_theGxDevicePtr->PrimVertexPtr(buf, format);
|
g_theGxDevicePtr->PrimVertexPtr(buf, format);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GxPrimLockVertexPtrs(uint32_t vertexCount, const C3Vector* pos, uint32_t posStride, const C3Vector* normal, uint32_t normalStride, const CImVector* color, uint32_t colorStride, const unsigned char* bone, uint32_t boneStride, const C2Vector* tex0, uint32_t tex0Stride, const C2Vector* tex1, uint32_t tex1Stride) {
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|
||||||
|
void GxPrimDrawElements(EGxPrimType primType, uint32_t indexCount, uint16_t* indices) {
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|
||||||
|
void GxPrimUnlockVertexPtrs() {
|
||||||
|
// TODO
|
||||||
|
}
|
||||||
|
|||||||
@ -35,4 +35,10 @@ void GxPrimIndexPtr(CGxBuf*);
|
|||||||
|
|
||||||
void GxPrimVertexPtr(CGxBuf*, EGxVertexBufferFormat);
|
void GxPrimVertexPtr(CGxBuf*, EGxVertexBufferFormat);
|
||||||
|
|
||||||
|
void GxPrimLockVertexPtrs(uint32_t, const C3Vector*, uint32_t, const C3Vector*, uint32_t, const CImVector*, uint32_t, const unsigned char*, uint32_t, const C2Vector*, uint32_t, const C2Vector*, uint32_t);
|
||||||
|
|
||||||
|
void GxPrimDrawElements(EGxPrimType, uint32_t, uint16_t*);
|
||||||
|
|
||||||
|
void GxPrimUnlockVertexPtrs();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user