OGLBufferDictionary (object)¶
The OGLBufferDictionary implements a helper object to manage OGLBuffer objects.
Methods¶
OGLBufferDictionary ( in OGLBufferDictionary other ) | |
OGLBufferDictionary () | |
OGLBufferDictionary | clone ? () |
OGLBuffer | get ? ( in Size offset ) |
OGLBuffer | get ? ( in String name ) |
Integer | getVersion ? ( in Size offset ) |
Integer | getVersion ? ( in String name ) |
Boolean | has ? ( in String name ) |
incrementVersion ! ( in String name ) | |
resetAllVersions ! () | |
set ! ( in Size offset, in OGLBuffer buffer ) | |
set ! ( in String name, in OGLBuffer buffer ) | |
setVersion ! ( in Size offset, in Integer version ) | |
setVersion ! ( in String name, in Integer version ) |
Methods in detail¶
OGLBufferDictionary ( in OGLBufferDictionary other )
copy constructor
default constructor
OGLBufferDictionary OGLBufferDictionary.clone? ()
clone method
OGLBuffer OGLBufferDictionary.get? ( in Size offset )
returns a specific buffer
OGLBuffer OGLBufferDictionary.get? ( in String name )
returns a specific buffer
Integer OGLBufferDictionary.getVersion? ( in Size offset )
returns the version of a specific buffer
Integer OGLBufferDictionary.getVersion? ( in String name )
returns the version of a specific buffer
Boolean OGLBufferDictionary.has? ( in String name )
returns true if a given buffer exists
OGLBufferDictionary.incrementVersion! ( in String name )
increment a specific buffer version
OGLBufferDictionary.resetAllVersions! ()
clears all existing versions
OGLBufferDictionary.set! ( in Size offset, in OGLBuffer buffer )
set a specific buffer
OGLBufferDictionary.set! ( in String name, in OGLBuffer buffer )
set a specific buffer
OGLBufferDictionary.setVersion! ( in Size offset, in Integer version )
sets the version of a given buffer
OGLBufferDictionary.setVersion! ( in String name, in Integer version )
sets the version of a given buffer