| Flutter Impeller |

device_buffer_descriptor.h
Go to the documentation of this file.
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #pragma once
6
7 #include <cstddef>
8
9 #include "impeller/core/formats.h"
10
11 namespace impeller {
12
13 struct DeviceBufferDescriptor {
14 StorageMode storage_mode = StorageMode::kDeviceTransient;
15 size_t size = 0u;
16 };
17
18 } // namespace impeller
impeller::DeviceBufferDescriptor
Definition: device_buffer_descriptor.h:13
formats.h
impeller::DeviceBufferDescriptor::size
size_t size
Definition: device_buffer_descriptor.h:15
impeller::StorageMode::kDeviceTransient
@ kDeviceTransient
impeller::StorageMode
StorageMode
Specified where the allocation resides and how it is used.
Definition: formats.h:27
impeller::DeviceBufferDescriptor::storage_mode
StorageMode storage_mode
Definition: device_buffer_descriptor.h:14
impeller
Definition: aiks_context.cc:10