| 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

## Detailed Description

Definition at line 14 of file device_buffer_descriptor.h.

## Member Data Documentation

## ◆ size

size_t impeller::DeviceBufferDescriptor::size = 0u

Definition at line 16 of file device_buffer_descriptor.h.

Referenced by impeller::DeviceBuffer::AsBufferView(), impeller::DeviceBuffer::AsTexture(), impeller::DeviceBuffer::CopyHostBuffer(), impeller::Allocator::CreateBufferWithCopy(), impeller::CreateDeviceBuffer(), impeller::ComputePlaygroundTest::CreateHostVisibleDeviceBuffer(), impeller::VerticesGeometry::GetPositionBuffer(), impeller::VerticesGeometry::GetPositionColorBuffer(), impeller::VerticesGeometry::GetPositionUVBuffer(), ImGui_ImplImpeller_RenderDrawData(), impeller::scene::Geometry::MakeFromFlatbuffer(), 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::CreateDeviceBuffer(), impeller::ComputePlaygroundTest::CreateHostVisibleDeviceBuffer(), ImGui_ImplImpeller_RenderDrawData(), impeller::scene::Geometry::MakeFromFlatbuffer(), and impeller::testing::TEST_P().

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

- impeller/core/device_buffer_descriptor.h