public void GetPhysicalDeviceProperties(out MgPhysicalDeviceProperties pProperties) { pProperties = new MgPhysicalDeviceProperties { Limits = new MgPhysicalDeviceLimits { // OPENGL : only one descriptor sets can be bound MaxBoundDescriptorSets = 1, }, }; }
public void GetPhysicalDeviceProperties(out MgPhysicalDeviceProperties pProperties) { pProperties = new MgPhysicalDeviceProperties { Limits = new MgPhysicalDeviceLimits { // METAL : one set only for a pipeline MaxBoundDescriptorSets = 1, // METAL - one viewport only MaxViewports = 1, // METAL - no line width LineWidthRange = new MgVec2f { X = 1f, Y = 1f }, LineWidthGranularity = 0f, }, }; }