DmabufTextureBuilder.setStride

Sets the stride for a plane.

The stride must be set for all planes before calling gdk.gltexture_builder.GLTextureBuilder.build.

class DmabufTextureBuilder
void
setStride
(
uint plane
,
uint stride
)

Parameters

plane uint

the plane to set the stride for

stride uint

the stride value