DmabufTextureBuilder.setStride

void setStride(uint plane, uint stride)

Sets the stride for a plane.

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

Parameters

planethe plane to set the stride for
stridethe stride value