PixelFormat
DOC_TBA
Source:
Members
- 
    
<static, constant> ALPHA :Enumeration
 - 
    
    DOC_TBA
- Default Value:
 - 0x1906
 
 - 
    
<static, constant> DEPTH_COMPONENT :Enumeration
 - 
    
    A pixel format containing a depth value.
- Default Value:
 - 0x1902
 
 - 
    
<static, constant> DEPTH_STENCIL :Enumeration
 - 
    
    A pixel format containing a depth and stencil value, most often used with PixelDatatype.UNSIGNED_INT_24_8_WEBGL.
- Default Value:
 - 0x84F9
 
 - 
    
<static, constant> LUMINANCE :Enumeration
 - 
    
    DOC_TBA
- Default Value:
 - 0x1909
 
 - 
    
<static, constant> LUMINANCE_ALPHA :Enumeration
 - 
    
    DOC_TBA
- Default Value:
 - 0x190A
 
 - 
    
<static, constant> RGB :Enumeration
 - 
    
    DOC_TBA
- Default Value:
 - 0x1907
 
 - 
    
<static, constant> RGBA :Enumeration
 - 
    
    DOC_TBA
- Default Value:
 - 0x1908
 
 
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. 
