다음을 통해 공유


ColorFormat 생성자

정의

오버로드

ColorFormat(Int32)

픽셀당 지정된 집계 비트를 사용하여 새 ColorFormat을 생성합니다.

ColorFormat(Int32, Int32, Int32, Int32)

빨간색, 녹색, 파랑 및 알파 색 채널에 대해 픽셀당 지정된 비트로 새 ColorFormat을 생성합니다.

ColorFormat(Int32)

픽셀당 지정된 집계 비트를 사용하여 새 ColorFormat을 생성합니다.

public ColorFormat (int bpp);
new OpenTK.Graphics.ColorFormat : int -> OpenTK.Graphics.ColorFormat

매개 변수

bpp
Int32

빨강, 녹색, 파랑 및 알파 색 채널의 픽셀당 비트 합계입니다.

적용 대상

ColorFormat(Int32, Int32, Int32, Int32)

빨간색, 녹색, 파랑 및 알파 색 채널에 대해 픽셀당 지정된 비트로 새 ColorFormat을 생성합니다.

public ColorFormat (int red, int green, int blue, int alpha);
new OpenTK.Graphics.ColorFormat : int * int * int * int -> OpenTK.Graphics.ColorFormat

매개 변수

red
Int32

빨간색 채널의 픽셀당 비트입니다.

green
Int32

녹색 채널의 픽셀당 비트입니다.

blue
Int32

파란색 채널의 픽셀당 비트입니다.

alpha
Int32

알파 색 채널의 픽셀당 비트입니다.

적용 대상