| Flutter Impeller |

Public Attributes | List of all members
impeller::DeviceBufferDescriptor Struct Reference

`#include <device_buffer_descriptor.h>`

## Public Attributes
StorageMode | storage_mode = StorageMode::kDeviceTransient
size_t | size = 0u
bool | readback = false

## Detailed Description

Definition at line 14 of file device_buffer_descriptor.h.

## Member Data Documentation

## ◆ readback

bool impeller::DeviceBufferDescriptor::readback = false

Definition at line 19 of file device_buffer_descriptor.h.

## ◆ size

size_t impeller::DeviceBufferDescriptor::size = 0u

Definition at line 16 of file device_buffer_descriptor.h.

Referenced by impeller::DeviceBuffer::CopyHostBuffer(), impeller::Allocator::CreateBufferWithCopy(), impeller::ComputePlaygroundTest::CreateHostVisibleDeviceBuffer(), ImGui_ImplImpeller_RenderDrawData(), impeller::testing::FailingAllocator::OnCreateBuffer(), and impeller::testing::TEST_P().

## ◆ storage_mode

StorageMode impeller::DeviceBufferDescriptor::storage_mode = StorageMode::kDeviceTransient

Definition at line 15 of file device_buffer_descriptor.h.

Referenced by impeller::DeviceBuffer::CopyHostBuffer(), impeller::Allocator::CreateBufferWithCopy(), impeller::ComputePlaygroundTest::CreateHostVisibleDeviceBuffer(), ImGui_ImplImpeller_RenderDrawData(), and impeller::testing::TEST_P().

The documentation for this struct was generated from the following file:

- impeller/core/device_buffer_descriptor.h