FramebufferFormat.fromActive constructor
FramebufferFormat.fromActive(
- ChronosGL cgl
Implementation
FramebufferFormat.fromActive(ChronosGL cgl)
: format = cgl.getParameter(GL_IMPLEMENTATION_COLOR_READ_FORMAT),
type = cgl.getParameter(GL_IMPLEMENTATION_COLOR_READ_TYPE) {
channels = TextureChannelsByType(format);
}