HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file media.PixelFormat by barry
expand copy to clipboardexpand
/* { "description" : "This data type holds constants for various pixel formats."} */

data PixelFormat{
	/* { "@description" : "RGBA format (R,G,B,A,R,G,B,A,...), with 1 byte for each pixel. This is the assumed default pixel format throughout the Dana standard library."} */
	const byte RGBA32 = 1
	/* { "@description" : "BGRA format (B,G,R,A,B,G,R,A,...), with 1 byte for each pixel."} */
	const byte BGRA32 = 2
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n media.PixelFormat -m "reason for update" -u yourUsername
Version 1 (this version) by barry
Notes for this version: Adds shared constants for pixel formats