// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

package components

type PixelFormat struct {
	// If pixel RGB data are in big-endian
	BigEndian *bool `json:"big_endian,omitempty"`
	// How many bits in a single full pixel datum. Valid values are: 8, 16, 32
	BitsPerPixel *int `json:"bits_per_pixel,omitempty"`
	// Max value of blue pixel
	BlueMax *int `json:"blue_max,omitempty"`
	// How many bits to right shift a pixel datum to get blue bits in lsb
	BlueShift *int `json:"blue_shift,omitempty"`
	// Color depth
	Depth *int `json:"depth,omitempty"`
	// Max value of green pixel
	GreenMax *int `json:"green_max,omitempty"`
	// How many bits to right shift a pixel datum to get green bits in lsb
	GreenShift *int `json:"green_shift,omitempty"`
	Padding1   *int `json:"padding1,omitempty"`
	Padding2   *int `json:"padding2,omitempty"`
	Padding3   *int `json:"padding3,omitempty"`
	// Max value of red pixel
	RedMax *int `json:"red_max,omitempty"`
	// How many bits to right shift a pixel datum to get red bits in lsb
	RedShift *int `json:"red_shift,omitempty"`
	// If false, color maps are used
	TrueColor *bool `json:"true_color,omitempty"`
}

func (o *PixelFormat) GetBigEndian() *bool {
	if o == nil {
		return nil
	}
	return o.BigEndian
}

func (o *PixelFormat) GetBitsPerPixel() *int {
	if o == nil {
		return nil
	}
	return o.BitsPerPixel
}

func (o *PixelFormat) GetBlueMax() *int {
	if o == nil {
		return nil
	}
	return o.BlueMax
}

func (o *PixelFormat) GetBlueShift() *int {
	if o == nil {
		return nil
	}
	return o.BlueShift
}

func (o *PixelFormat) GetDepth() *int {
	if o == nil {
		return nil
	}
	return o.Depth
}

func (o *PixelFormat) GetGreenMax() *int {
	if o == nil {
		return nil
	}
	return o.GreenMax
}

func (o *PixelFormat) GetGreenShift() *int {
	if o == nil {
		return nil
	}
	return o.GreenShift
}

func (o *PixelFormat) GetPadding1() *int {
	if o == nil {
		return nil
	}
	return o.Padding1
}

func (o *PixelFormat) GetPadding2() *int {
	if o == nil {
		return nil
	}
	return o.Padding2
}

func (o *PixelFormat) GetPadding3() *int {
	if o == nil {
		return nil
	}
	return o.Padding3
}

func (o *PixelFormat) GetRedMax() *int {
	if o == nil {
		return nil
	}
	return o.RedMax
}

func (o *PixelFormat) GetRedShift() *int {
	if o == nil {
		return nil
	}
	return o.RedShift
}

func (o *PixelFormat) GetTrueColor() *bool {
	if o == nil {
		return nil
	}
	return o.TrueColor
}
