Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Data object BufferUsage

interface struct BufferUsage
Provides an interface to specify a set of possible usages of a buffer. This is needed when creating a buffer and can’t change once a buffer is created. Please see [IGraphicsModule#createGraphicsBuffer].

Fields

scanOut

bool — Required
Buffer is to be presented to the screen

gpuWrite

bool — Required
Buffer is to be used for rendering - for example it is going to be used as the storage for a color buffer

gpuRead

bool — Required
The buffer will be used as a texture that will be sampled from.

cameraWrite

bool — Required
The buffer will be written to by a camera subsystem.

cameraRead

bool — Required
The buffer will be read from by a camera subsystem.

secured

bool — Required
Buffer inaccessible to unprivileged users.

softwareReadOften

bool — Required
These flags specify the frequency of software access.

softwareReadRarely

bool — Required

softwareWriteOften

bool — Required

softwareWriteRarely

bool — Required

hardwareVideoDecoder

bool — Required
The buffer will be written by a video decode accelerator.

hardwareVideoEncoder

bool — Required
The buffer will be read by a video encode accelerator.

decrypt

bool — Required
The buffer will be written by HW decryption module
Last modified on October 29, 2026