Java Code Examples for org.lwjgl.opengl.GL30#glRenderbufferStorageMultisample()
The following examples show how to use
org.lwjgl.opengl.GL30#glRenderbufferStorageMultisample() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: RenderBufferAttachment.java From LowPolyWater with The Unlicense | 5 votes |
@Override public void init(int attachment, int width, int height, int samples) { int buffer = GL30.glGenRenderbuffers(); super.setBufferId(buffer); GL30.glBindRenderbuffer(GL30.GL_RENDERBUFFER, buffer); GL30.glRenderbufferStorageMultisample(GL30.GL_RENDERBUFFER, samples, format, width, height); GL30.glFramebufferRenderbuffer(GL30.GL_FRAMEBUFFER, attachment, GL30.GL_RENDERBUFFER, buffer); }
Example 2
Source File: LwjglGLFboGL3.java From jmonkeyengine with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Override public void glRenderbufferStorageMultisampleEXT(int target, int samples, int internalformat, int width, int height) { GL30.glRenderbufferStorageMultisample(target, samples, internalformat, width, height); }
Example 3
Source File: LwjglGLFboGL3.java From jmonkeyengine with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Override public void glRenderbufferStorageMultisampleEXT(final int target, final int samples, final int internalFormat, final int width, final int height) { GL30.glRenderbufferStorageMultisample(target, samples, internalFormat, width, height); }