|
JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java (public API).
|
Bitmap Texture event of SubtitleEvent.
More...
Classes | |
| interface | TextureOwner |
To be implemented by the Texture owner to release the texture. More... | |
Public Member Functions | |
| SubBitmapEvent (final CodecID codec, final String lang, final Vec2i pos, final Vec2i dim, final Texture tex, final int pts_start, final int pts_end, final TextureOwner owner) | |
| Texture Event ctor. More... | |
| void | release () |
| Release the resources, if any, back to the owner. More... | |
| String | toString () |
Public Member Functions inherited from com.jogamp.opengl.util.av.SubtitleEvent | |
| SubtitleEvent (final Type type, final CodecID codec, final String lang, final int pts_start, final int pts_end) | |
| abstract void | release () |
| Release the resources, if any, back to the owner. More... | |
| final int | getDuration () |
| final boolean | isEndDefined () |
See pts_end. More... | |
| final String | getStartString () |
Public Attributes | |
| final Vec2i | position |
| Subtitle texture position. More... | |
| final Vec2i | dimension |
| Subtitle texture dimension. More... | |
| Texture | texture |
Subtitle texture or null if unused. More... | |
Public Attributes inherited from com.jogamp.opengl.util.av.SubtitleEvent | |
| final Type | type |
Implementation Type of this instance. More... | |
| final CodecID | codec |
CodecID of this subtitle event. More... | |
| final String | lang |
Language code, supposed to be 3-letters of ISO 639-2 language codes More... | |
| final int | pts_start |
| PTS start time in milliseconds to start showing this subtitle event. More... | |
| final int | pts_end |
| PTS end time in milliseconds to end showing this subtitle event. More... | |
Bitmap Texture event of SubtitleEvent.
Consider SubtitleEvent#pts_end and SubEmptyEvent.
Definition at line 39 of file SubBitmapEvent.java.
| com.jogamp.opengl.util.av.SubBitmapEvent.SubBitmapEvent | ( | final CodecID | codec, |
| final String | lang, | ||
| final Vec2i | pos, | ||
| final Vec2i | dim, | ||
| final Texture | tex, | ||
| final int | pts_start, | ||
| final int | pts_end, | ||
| final TextureOwner | owner | ||
| ) |
Texture Event ctor.
| codec | the CodecID |
| lang | language code, supposed to be 3-letters of ISO 639-2 language codes |
| pos | texture position |
| dim | texture dimension |
| tex | the Texture or null if unused |
| pts_start | pts start in ms |
| pts_end | pts end in ms, often isEndDefined() for bitmap'ed types see pts_end |
| owner | Texture owner code-stub to release the texture |
Definition at line 64 of file SubBitmapEvent.java.
| void com.jogamp.opengl.util.av.SubBitmapEvent.release | ( | ) |
Release the resources, if any, back to the owner.
The texture is released back to the owner
Reimplemented from com.jogamp.opengl.util.av.SubtitleEvent.
Definition at line 79 of file SubBitmapEvent.java.
| String com.jogamp.opengl.util.av.SubBitmapEvent.toString | ( | ) |
| final Vec2i com.jogamp.opengl.util.av.SubBitmapEvent.dimension |
Subtitle texture dimension.
Definition at line 48 of file SubBitmapEvent.java.
| final Vec2i com.jogamp.opengl.util.av.SubBitmapEvent.position |
Subtitle texture position.
Definition at line 46 of file SubBitmapEvent.java.
| Texture com.jogamp.opengl.util.av.SubBitmapEvent.texture |
Subtitle texture or null if unused.
Definition at line 50 of file SubBitmapEvent.java.