public static H1GpuResourceSegmented CreateGpuResource(H1HeapType heapType, H1GpuResourceDesc resourceDesc, H1ResourceStates defaultUsage) { H1GpuResourceSegmented newRes = new H1GpuResourceSegmented(); if (!newRes.CreateResource(heapType, resourceDesc, defaultUsage)) { newRes = null; } return(newRes); }