Skip to content

Commit

Permalink
Effect: Clarify GlEffect javadoc exception cause.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 504273335
  • Loading branch information
dway123 authored and christosts committed Jan 25, 2023
1 parent 7fbdbeb commit 301683a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@
public interface GlEffect extends Effect {

/**
* Returns a {@link SingleFrameGlTextureProcessor} that applies the effect.
* Returns a {@link GlTextureProcessor} that applies the effect.
*
* @param context A {@link Context}.
* @param useHdr Whether input textures come from an HDR source. If {@code true}, colors will be
* in linear RGB BT.2020. If {@code false}, colors will be in linear RGB BT.709.
* @throws FrameProcessingException If an error occurs while creating the {@link
* GlTextureProcessor}.
*/
GlTextureProcessor toGlTextureProcessor(Context context, boolean useHdr)
throws FrameProcessingException;
Expand Down

0 comments on commit 301683a

Please sign in to comment.