public static unsafe void LoadIndexBuffer(GSIndexBuffer indexBuffer) { IntPtr ptr = IntPtr.Zero; if (indexBuffer != null) { ptr = indexBuffer.GetPointer(); } libobs.gs_load_indexbuffer(ptr); }
public static unsafe void LoadIndexBuffer(GSIndexBuffer indexBuffer) { IntPtr ptr = IntPtr.Zero; if (indexBuffer != null) ptr = indexBuffer.GetPointer(); libobs.gs_load_indexbuffer(ptr); }