By making this method public and non-overridable it obfuscates the interface to resource generation. It is too easy to accidentally create an object of type DeviceBuffer through CreateBuffer rather than CreateBufferCore when using the DeviceResourceCollector.
By making this method public and non-overridable it obfuscates the interface to resource generation. It is too easy to accidentally create an object of type DeviceBuffer through CreateBuffer rather than CreateBufferCore when using the DeviceResourceCollector.
https://github.com/mellinoe/veldrid/blob/d5122453394665e446c95b4ebed5eba93c575af4/src/Veldrid/ResourceFactory.cs#L151