| 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 DeviceBuffer > | buffer
Range | range

## Detailed Description

Definition at line 15 of file buffer_view.h.

## Member Function Documentation

## ◆ operator bool()

constexpr impeller::BufferView::operator bool | ( |  | ) | const
| inlineexplicitconstexpr

Definition at line 19 of file buffer_view.h.

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

References buffer.

## Member Data Documentation

## ◆ buffer

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

Definition at line 16 of file buffer_view.h.

Referenced by impeller::DeviceBuffer::AsBufferView(), impeller::Bind(), ImGui_ImplImpeller_RenderDrawData(), operator bool(), and impeller::testing::TEST_P().

## ◆ range

Range impeller::BufferView::range

Definition at line 17 of file buffer_view.h.

Referenced by impeller::BlitPass::AddCopy(), impeller::DeviceBuffer::AsBufferView(), impeller::Bind(), impeller::BlitCopyBufferToTextureCommandGLES::Encode(), and impeller::testing::TEST_P().

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

- impeller/core/buffer_view.h

impeller::BufferView::buffer
std::shared_ptr< const DeviceBuffer > buffer
Definition: buffer_view.h:16