PixelFormat

PixelFormat

Members

<static, constant> :Enumeration

DOC_TBA

<static, constant> :Enumeration

A pixel format containing a depth value.

<static, constant> :Enumeration

A pixel format containing a depth and stencil value, most often used with PixelDatatype.UNSIGNED_INT_24_8_WEBGL.

<static, constant> :Enumeration

DOC_TBA

<static, constant> :Enumeration

DOC_TBA

<static, constant> :Enumeration

DOC_TBA

<static, constant> :Enumeration

DOC_TBA

Methods

<static>

Returns true if the pixel format is a color format.

Parameters:
Name Type Description
pixelFormat PixelFormat The pixel format to test.
Returns:
Boolean Returns true if the pixel format is a color format; otherwise false.

<static>

Returns true if the pixel format is a depth format.

Parameters:
Name Type Description
pixelFormat PixelFormat The pixel format to test.
Returns:
Boolean Returns true if the pixel format is a depth format; otherwise false.

<static>

Returns true if the pixel format is a valid enumeration value.

Parameters:
Name Type Description
pixelFormat PixelFormat The pixel format to test.
Returns:
Boolean Returns true if the pixel format is a valid enumeration value; otherwise, false.