public final class R2FilterEmission extends Object implements R2FilterEmissionType
Modifier and Type | Method and Description |
---|---|
void |
delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type gx)
Delete the current object.
|
boolean |
isDeleted() |
static R2FilterEmissionType |
newFilter(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type in_g,
R2ShaderPreprocessingEnvironmentReadableType in_shader_env,
R2IDPoolType in_id_pool,
R2FilterUsableType<R2FilterBoxBlurParameters<R2ImageBufferDescription,R2ImageBufferUsableType,R2ImageBufferDescription,R2ImageBufferUsableType>> in_blur,
R2RenderTargetPoolUsableType<R2ImageBufferDescription,R2ImageBufferUsableType> in_render_target_pool,
R2UnitQuadUsableType in_quad)
Construct a new emission filter.
|
void |
runFilter(com.io7m.jcanephora.profiler.JCGLProfilingContextType pc,
com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextParentType uc,
R2FilterEmissionParameters parameters)
Run the filter for the given parameters.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
wrap
public static R2FilterEmissionType newFilter(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type in_g, R2ShaderPreprocessingEnvironmentReadableType in_shader_env, R2IDPoolType in_id_pool, R2FilterUsableType<R2FilterBoxBlurParameters<R2ImageBufferDescription,R2ImageBufferUsableType,R2ImageBufferDescription,R2ImageBufferUsableType>> in_blur, R2RenderTargetPoolUsableType<R2ImageBufferDescription,R2ImageBufferUsableType> in_render_target_pool, R2UnitQuadUsableType in_quad)
in_g
- A GL interfacein_shader_env
- Access to shader sourcesin_id_pool
- An ID poolin_blur
- A blur filterin_render_target_pool
- A pool of render targets for the blur filterin_quad
- A unit quadpublic void delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type gx) throws R2Exception
R2DeletableType
delete
in interface R2DeletableType
gx
- An OpenGL interfaceR2Exception
- On errorspublic boolean isDeleted()
isDeleted
in interface com.io7m.jcanephora.core.JCGLResourceUsableType
public void runFilter(com.io7m.jcanephora.profiler.JCGLProfilingContextType pc, com.io7m.jcanephora.texture.unit_allocator.JCGLTextureUnitContextParentType uc, R2FilterEmissionParameters parameters)
R2FilterUsableType
runFilter
in interface R2FilterUsableType<R2FilterEmissionParameters>
pc
- A profiling contextuc
- A texture unit contextparameters
- The filter parametersCopyright © 2017 <code@io7m.com> http://io7m.com