DmabufTextureBuilder.setFourcc

Sets the format of the texture.

The format is specified as a fourcc code.

The format must be set before calling gdk.gltexture_builder.GLTextureBuilder.build.

class DmabufTextureBuilder
void
setFourcc
(
uint fourcc
)

Parameters

fourcc uint

the texture's format or 0 to unset