PixelFormat
DOC_TBA
Source:
Members
- 
    
<static, constant> ALPHA :Number
 - 
    
    0x1906. A pixel format containing an alpha channel.
 - 
    
<static, constant> DEPTH_COMPONENT :Number
 - 
    
    0x1902. A pixel format containing a depth value.
 - 
    
<static, constant> DEPTH_STENCIL :Number
 - 
    
    0x84F9. A pixel format containing a depth and stencil value, most often used with PixelDatatype.UNSIGNED_INT_24_8_WEBGL.
 - 
    
<static, constant> LUMINANCE :Number
 - 
    
    0x1909. A pixel format containing a luminance (intensity) channel.
 - 
    
<static, constant> LUMINANCE_ALPHA :Number
 - 
    
    0x190A. A pixel format containing luminance (intensity) and alpha channels.
- Default Value:
 - 0x190A
 
 - 
    
<static, constant> RGB :Number
 - 
    
    0x1907. A pixel format containing red, green, and blue channels.
 - 
    
<static, constant> RGBA :Number
 - 
    
    0x1908. A pixel format containing red, green, blue, and alpha channels.
 
Methods
- 
    
<static> isColorFormat
 - 
    
    
    
Returns true if the pixel format is a color format.
Parameters:
Name Type Description pixelFormatPixelFormat The pixel format to test. Returns:
Boolean Returns true if the pixel format is a color format; otherwise false. - 
    
<static> isDepthFormat
 - 
    
    
    
Returns true if the pixel format is a depth format.
Parameters:
Name Type Description pixelFormatPixelFormat The pixel format to test. Returns:
Boolean Returns true if the pixel format is a depth format; otherwise false. - 
    
<static> validate
 - 
    
    
    
Returns true if the pixel format is a valid enumeration value.
Parameters:
Name Type Description pixelFormatPixelFormat The pixel format to test. Returns:
Boolean Returns true if the pixel format is a valid enumeration value; otherwise, false. 
