public interface BufferViewModel extends NamedModelElement
BufferModel| Modifier and Type | Method and Description |
|---|---|
BufferModel |
getBufferModel()
Returns the
BufferModel that this view refers to |
java.nio.ByteBuffer |
getBufferViewData()
Return the actual data that this view stands for.
|
int |
getByteLength()
Returns the length of this view, in bytes
|
int |
getByteOffset()
Returns the offset of this view referring to the buffer
|
java.lang.Integer |
getByteStride()
Returns the stride between two consecutive elements of this buffer view,
in bytes.
|
java.lang.Integer |
getTarget()
Returns the (optional) target that this buffer should be bound to.
|
getNamegetExtensions, getExtrasjava.nio.ByteBuffer getBufferViewData()
BufferModel getBufferModel()
BufferModel that this view refers toBufferModelint getByteOffset()
int getByteLength()
java.lang.Integer getByteStride()
null, then the elements are tightly
packed.java.lang.Integer getTarget()
null, then it will be the GL constant for
GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER.nullCopyright © 2022. All Rights Reserved.