21.06.2014 Views

OpenGL 4.1 (Compatibility Profile) - July 25, 2010

OpenGL 4.1 (Compatibility Profile) - July 25, 2010

OpenGL 4.1 (Compatibility Profile) - July 25, 2010

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.9. TEXTURING 285<br />

Sized Base D S<br />

Internal Format Internal Format bits bits<br />

DEPTH_COMPONENT16 DEPTH_COMPONENT 16<br />

DEPTH_COMPONENT24 DEPTH_COMPONENT 24<br />

DEPTH_COMPONENT32 DEPTH_COMPONENT 32<br />

DEPTH_COMPONENT32F DEPTH_COMPONENT f32<br />

DEPTH24_STENCIL8 DEPTH_STENCIL 24 8<br />

DEPTH32F_STENCIL8 DEPTH_STENCIL f32 8<br />

Table 3.19: Correspondence of sized internal depth and stencil formats to base<br />

internal formats, internal data type, and desired component resolutions for each<br />

sized internal format. The component resolution prefix indicates the internal data<br />

type: f is floating point, i is signed integer, ui is unsigned integer, and no prefix is<br />

fixed-point.<br />

Compressed Internal Format Base Internal Format Type<br />

COMPRESSED_ALPHA ALPHA Generic<br />

COMPRESSED_LUMINANCE LUMINANCE Generic<br />

COMPRESSED_LUMINANCE_ALPHA LUMINANCE_ALPHA Generic<br />

COMPRESSED_INTENSITY INTENSITY Generic<br />

COMPRESSED_RED RED Generic<br />

COMPRESSED_RG RG Generic<br />

COMPRESSED_RGB RGB Generic<br />

COMPRESSED_RGBA RGBA Generic<br />

COMPRESSED_SRGB RGB Generic<br />

COMPRESSED_SRGB_ALPHA RGBA Generic<br />

COMPRESSED_SLUMINANCE LUMINANCE Generic<br />

COMPRESSED_SLUMINANCE_ALPHA LUMINANCE_ALPHA Generic<br />

COMPRESSED_RED_RGTC1 RED Specific<br />

COMPRESSED_SIGNED_RED_RGTC1 RED Specific<br />

COMPRESSED_RG_RGTC2 RG Specific<br />

COMPRESSED_SIGNED_RG_RGTC2 RG Specific<br />

Table 3.20: Generic and specific compressed internal formats. The specific RGTC<br />

formats are described in appendix C.<br />

<strong>OpenGL</strong> <strong>4.1</strong> (<strong>Compatibility</strong> <strong>Profile</strong>) - <strong>July</strong> <strong>25</strong>, <strong>2010</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!