| Flutter Impeller |

Public Member Functions | Public Attributes | List of all members
impeller::BufferView Struct Reference

`#include <buffer_view.h>`

## Public Member Functions
constexpr | operator bool () const

## Public Attributes
std::shared_ptr< const Buffer > | buffer
uint8_t * | contents
Range | range

## Detailed Description

Definition at line 13 of file buffer_view.h.

## Member Function Documentation

## ◆ operator bool()

constexpr impeller::BufferView::operator bool | ( |  | ) | const
| inline explicit constexpr

Definition at line 18 of file buffer_view.h.

18 { return static_cast<bool>(buffer); }

References buffer.

## Member Data Documentation

## ◆ buffer

std::shared_ptr<const Buffer> impeller::BufferView::buffer

Definition at line 14 of file buffer_view.h.

Referenced by impeller::DeviceBuffer::AsBufferView(), impeller::Bind(), impeller::BlitCopyBufferToTextureCommandVK::Encode(), impeller::BlitCopyBufferToTextureCommandMTL::Encode(), impeller::EncodeCommand(), ImGui_ImplImpeller_RenderDrawData(), impeller::scene::Geometry::MakeFromFlatbuffer(), operator bool(), impeller::testing::TEST(), and impeller::testing::TEST_P().

## ◆ contents

uint8_t* impeller::BufferView::contents

Definition at line 15 of file buffer_view.h.

Referenced by impeller::DeviceBuffer::AsBufferView().

## ◆ range

Range impeller::BufferView::range

Definition at line 16 of file buffer_view.h.

Referenced by impeller::BlitPass::AddCopy(), impeller::DeviceBuffer::AsBufferView(), impeller::Bind(), impeller::BlitCopyBufferToTextureCommandVK::Encode(), and impeller::BlitCopyBufferToTextureCommandMTL::Encode().

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

- impeller/core/buffer_view.h

impeller::BufferView::buffer
std::shared_ptr< const Buffer > buffer
Definition: buffer_view.h:14