ClanLib

Surface Resources

Resource options

Each surface can have the following properties:

<surface
	name="my_surface"
	file="filename"
	format="image_format" >

To setup a surface resource, it is required to specify the name and file attributes of <surface>. If ClanLib has trouble determining what format the specified filename is in, the extension known by clanlib (eg. "jpg") can be told using the format attribute.

Surface resource options reference

<surface>

Questions or comments, write to the ClanLib mailing list.