opengl es - Is it possible to verify the components' size of non-color-renderable internal format? -
in opengl es 3.0 spec can read:
§ 4.4.5
when relevant framebuffer binding non-zero, if bound framebuffer object not framebuffer complete, values of state variables listed in table 6.34 undefined.
table 6.34 contains x_bits
constant. means can create texture or renderbuffer that's not color-renderable, can't verify has proper size.
is there way around this, or idea skewed , information irrelevant (which render question incorrect)?
you can query bound render buffer properties using getrenderbufferparameteriv (6.1.14 renderbuffer object queries). example renderbuffer_- internal_format.
the problem unless framebuffer complete, not formed specification states values returned undefined. that's doesn't mean can query 1 of renderbuffers attached , desired information.
not sure if looking for.
Comments
Post a Comment