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 GraphicsBufferData

interface struct GraphicsBufferData
Interface that encapsulates graphics buffer data corresponding to one instance of IBuffer (represents a plane) based on the memory layout of the buffer when it gets mapped in CPU/system memory. Please refer IByteBuffer & IMutableByteBuffer for mapping related API.

Fields

stride

i32 — Required
Stride of the plane. It is the number of bytes from one row of pixels in memory to the next row of pixels in memory. If padding bytes are present, the stride is wider than the width of the buffer.

bitsPerPixel

i32 — Required
Bits per pixels for a plane

planeWidth

i32 — Required
Plane width (in pixels), without any padding

planeHeight

i32 — Required
Plane height (in pixels), without any padding

planeSize

i32 — Required
size of plane in bytes.
Last modified on October 29, 2026