Simple TextureSequence implementation allowing existing textures or image streams to be used and replayed as frames.
More...
#include <ImageSequence.hpp>
|
| final void | addFrame (final GL gl, final Class<?> context, final String imageResourcePath, final String imageSuffix) throws IOException |
| |
| final TextureSequence TextureFrame | addFrame (final GL gl, final Texture tex) |
| |
| final TextureSequence TextureFrame | addFrame (final GL gl, final TextureSequence.TextureFrame frame) |
| |
| void | destroy (final GL gl) throws GLException |
| |
| Vec4f | getARatioLetterboxBackColor () |
| |
| final int | getCurrentIdx () |
| |
| final TextureSequence TextureFrame | getFrame (final int idx) |
| |
| final int | getFrameCount () |
| |
| TextureSequence TextureFrame | getLastTexture () throws IllegalStateException |
| |
| TextureSequence TextureFrame | getNextTexture (final GL gl) throws IllegalStateException |
| |
| String | getRequiredExtensionsShaderStub () throws IllegalStateException |
| |
| int | getTextureFragmentShaderHashCode () |
| |
| String | getTextureFragmentShaderHashID () |
| |
| String | getTextureLookupFragmentShaderImpl () throws IllegalStateException |
| |
| String | getTextureLookupFunctionName () throws IllegalStateException |
| |
| int[] | getTextureMinMagFilter () |
| |
| String | getTextureSampler2DType () throws IllegalStateException |
| |
| int | getTextureTarget () |
| |
| int | getTextureUnit () |
| |
| int[] | getTextureWrapST () |
| |
| | ImageSequence (final int textureUnit, final boolean useBuildInTexLookup) |
| |
| final boolean | isManualStepping () |
| |
| final boolean | isSequenceAnimating () |
| | Returns true if not isManualStepping() and getFrameCount() > 1.
|
| |
| boolean | isTextureAvailable () |
| |
| void | removeAllFrames () |
| |
| boolean | removeFrame (final TextureFrame tex) |
| |
| void | setARatioAdjustment (final boolean v) |
| |
| void | setARatioLetterbox (final boolean v, final Vec4f backColor) |
| |
| final void | setCurrentIdx (final int idx) throws IndexOutOfBoundsException |
| |
| final void | setManualStepping (final boolean v) |
| |
| void | setParams (final int magFilter, final int minFilter, final int wrapS, final int wrapT) |
| |
| String | setTextureLookupFunctionName (final String texLookupFuncName) throws IllegalStateException |
| |
| boolean | useARatioAdjustment () |
| |
| boolean | useARatioLetterbox () |
| |
Simple TextureSequence implementation allowing existing textures or image streams to be used and replayed as frames.
Definition at line 48 of file ImageSequence.hpp.
◆ ImageSequence()
| TextureSequence::ImageSequence |
( |
final int | textureUnit, |
|
|
final boolean | useBuildInTexLookup ) |
|
inline |
◆ setParams()
| void TextureSequence::setParams |
( |
final int | magFilter, |
|
|
final int | minFilter, |
|
|
final int | wrapS, |
|
|
final int | wrapT ) |
|
inline |
◆ addFrame() [1/3]
◆ addFrame() [2/3]
◆ removeFrame()
| boolean TextureSequence::removeFrame |
( |
final TextureFrame | tex | ) |
|
|
inline |
◆ removeAllFrames()
| void TextureSequence::removeAllFrames |
( |
| ) |
|
|
inline |
◆ addFrame() [3/3]
| final void TextureSequence::addFrame |
( |
final GL | gl, |
|
|
final Class<?> | context, |
|
|
final String | imageResourcePath, |
|
|
final String | imageSuffix ) throws IOException |
|
inline |
◆ getFrameCount()
| final int TextureSequence::getFrameCount |
( |
| ) |
|
|
inline |
◆ getCurrentIdx()
| final int TextureSequence::getCurrentIdx |
( |
| ) |
|
|
inline |
◆ setCurrentIdx()
| final void TextureSequence::setCurrentIdx |
( |
final int | idx | ) |
throws IndexOutOfBoundsException |
|
inline |
◆ setManualStepping()
| final void TextureSequence::setManualStepping |
( |
final boolean | v | ) |
|
|
inline |
◆ isManualStepping()
| final boolean TextureSequence::isManualStepping |
( |
| ) |
|
|
inline |
◆ isSequenceAnimating()
| final boolean TextureSequence::isSequenceAnimating |
( |
| ) |
|
|
inline |
◆ getFrame()
◆ destroy()
| void TextureSequence::destroy |
( |
final GL | gl | ) |
throws GLException |
|
inline |
◆ getTextureTarget()
| int TextureSequence::getTextureTarget |
( |
| ) |
|
|
inline |
◆ getTextureUnit()
| int TextureSequence::getTextureUnit |
( |
| ) |
|
|
inline |
◆ getTextureMinMagFilter()
| int[] TextureSequence::getTextureMinMagFilter |
( |
| ) |
|
|
inline |
◆ getTextureWrapST()
| int[] TextureSequence::getTextureWrapST |
( |
| ) |
|
|
inline |
◆ useARatioAdjustment()
| boolean TextureSequence::useARatioAdjustment |
( |
| ) |
|
|
inline |
◆ setARatioAdjustment()
| void TextureSequence::setARatioAdjustment |
( |
final boolean | v | ) |
|
|
inline |
◆ useARatioLetterbox()
| boolean TextureSequence::useARatioLetterbox |
( |
| ) |
|
|
inline |
◆ getARatioLetterboxBackColor()
| Vec4f TextureSequence::getARatioLetterboxBackColor |
( |
| ) |
|
|
inline |
◆ setARatioLetterbox()
| void TextureSequence::setARatioLetterbox |
( |
final boolean | v, |
|
|
final Vec4f | backColor ) |
|
inline |
◆ isTextureAvailable()
| boolean TextureSequence::isTextureAvailable |
( |
| ) |
|
|
inline |
◆ getLastTexture()
◆ getNextTexture()
◆ getRequiredExtensionsShaderStub()
| String TextureSequence::getRequiredExtensionsShaderStub |
( |
| ) |
throws IllegalStateException |
|
inline |
◆ getTextureSampler2DType()
| String TextureSequence::getTextureSampler2DType |
( |
| ) |
throws IllegalStateException |
|
inline |
◆ setTextureLookupFunctionName()
| String TextureSequence::setTextureLookupFunctionName |
( |
final String | texLookupFuncName | ) |
throws IllegalStateException |
|
inline |
◆ getTextureLookupFunctionName()
| String TextureSequence::getTextureLookupFunctionName |
( |
| ) |
throws IllegalStateException |
|
inline |
◆ getTextureLookupFragmentShaderImpl()
| String TextureSequence::getTextureLookupFragmentShaderImpl |
( |
| ) |
throws IllegalStateException |
|
inline |
◆ getTextureFragmentShaderHashID()
| String TextureSequence::getTextureFragmentShaderHashID |
( |
| ) |
|
|
inline |
◆ getTextureFragmentShaderHashCode()
| int TextureSequence::getTextureFragmentShaderHashCode |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: