#pragma once #ifdef __cplusplus extern "C" { #endif struct ID3D12Resource; struct D3D12IindexBufferView { __int64 BufferLocation; unsigned int SizeInBytes; int Format; }; typedef struct { struct ID3D12Resource *index_buffer; struct D3D12IindexBufferView index_buffer_view; struct ID3D12Resource *upload_buffer; int count; bool gpu_memory; int format; int last_start; int last_count; } IndexBuffer5Impl; struct kinc_g5_index_buffer; void kinc_g5_internal_index_buffer_upload(struct kinc_g5_index_buffer *buffer, struct ID3D12GraphicsCommandList *commandList); #ifdef __cplusplus } #endif