set_fourcc


Description:

public void set_fourcc (uint32 fourcc)

Sets the format of the texture.

The format is specified as a fourcc code.

The format must be set before calling [method@Gdk.GLTextureBuilder.build].

Parameters:

this

a `GdkDmabufTextureBuilder`

fourcc

the texture's format or 0 to unset