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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.4. FRAMEBUFFER OBJECTS 410<br />

• There is at least one image attached to the framebuffer.<br />

{ FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT }<br />

• The combination of internal formats of the attached images does not violate<br />

an implementation-dependent set of restrictions.<br />

{ FRAMEBUFFER_UNSUPPORTED }<br />

• The value of RENDERBUFFER_SAMPLES is the same for all attached renderbuffers;<br />

the value of TEXTURE_SAMPLES is the same for all attached textures;<br />

and, if the attached images are a mix of renderbuffers and textures,<br />

the value of RENDERBUFFER_SAMPLES matches the value of TEXTURE_-<br />

SAMPLES.<br />

{ FRAMEBUFFER_INCOMPLETE_MULTISAMPLE }<br />

• The value of TEXTURE_FIXED_SAMPLE_LOCATIONS is the same for all<br />

attached textures; and, if the attached images are a mix of renderbuffers<br />

and textures, the value of TEXTURE_FIXED_SAMPLE_LOCATIONS must be<br />

TRUE for all attached textures.<br />

{ FRAMEBUFFER_INCOMPLETE_MULTISAMPLE }<br />

• If any framebuffer attachment is layered, all populated attachments must be<br />

layered. Additionally, all populated color attachments must be from textures<br />

of the same target (three-dimensional, one-or two-dimensional array, cube<br />

map, or cube map array textures).<br />

{ FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS }<br />

The token in brackets after each clause of the framebuffer completeness rules<br />

specifies the return value of CheckFramebufferStatus (see below) that is generated<br />

when that clause is violated. If more than one clause is violated, it is<br />

implementation-dependent which value will be returned by CheckFramebuffer-<br />

Status.<br />

Performing any of the following actions may change whether the framebuffer<br />

is considered complete or incomplete:<br />

• Binding to a different framebuffer with BindFramebuffer.<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!