WIP implementing createNode API.
Added KRContext::m_nodeMap and initialization logic. Added code to hello_cube smoke test to call KrCreateNode. (Commented until test can pass)
This commit is contained in:
@@ -63,6 +63,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
|
||||
KrInitializeInfo init_info = {};
|
||||
init_info.sType = KR_STRUCTURE_TYPE_INITIALIZE;
|
||||
init_info.resourceMapSize = 1024;
|
||||
init_info.nodeMapSize = 1024;
|
||||
KrResult res = KrInitialize(&init_info);
|
||||
if (res != KR_SUCCESS) {
|
||||
// printf("Failed to initialize Kraken!\n");
|
||||
|
||||
Reference in New Issue
Block a user