public final class Nfaa extends Antialiasing
enabled
Constructor and Description |
---|
Nfaa(int viewportWidth,
int viewportHeight)
Create a NFAA with the viewport size
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
rebind()
Concrete objects shall be responsible to recreate or rebind its own resources whenever its
needed, usually when the OpenGL context is lost.
|
void |
render(com.badlogic.gdx.graphics.glutils.FrameBuffer src,
com.badlogic.gdx.graphics.glutils.FrameBuffer dest)
Concrete objects shall implements its own rendering, given the source and destination buffers.
|
void |
setViewportSize(int width,
int height) |
isEnabled, restoreViewport, setEnabled
public Nfaa(int viewportWidth, int viewportHeight)
public void setViewportSize(int width, int height)
setViewportSize
in class Antialiasing
public void dispose()
public void rebind()
PostProcessorEffect
rebind
in class PostProcessorEffect
public void render(com.badlogic.gdx.graphics.glutils.FrameBuffer src, com.badlogic.gdx.graphics.glutils.FrameBuffer dest)
PostProcessorEffect
render
in class PostProcessorEffect
Copyright © 2020. All rights reserved.