Ejemplo n.º 1
0
 private protected D3D12GraphicsMemoryBlock(D3D12GraphicsDevice device, D3D12GraphicsMemoryBlockCollection collection)
     : base(device, collection)
 {
     _d3d12Heap = new ValueLazy <Pointer <ID3D12Heap> >(CreateD3D12Heap);
 }
Ejemplo n.º 2
0
#pragma warning restore IDE0044

        internal D3D12GraphicsMemoryBlock(D3D12GraphicsDevice device, D3D12GraphicsMemoryBlockCollection collection, ulong size)
            : base(device, collection)
        {
            ref readonly var allocatorSettings = ref collection.Allocator.Settings;