public final class JCGLBufferUpdates extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends JCGLBufferWritableType> |
newUpdateReplacingAll(T buffer)
Construct an update that will replace all of the data in
buffer. |
static <T extends JCGLBufferWritableType> |
newUpdateReplacingRange(T buffer,
com.io7m.junsigned.ranges.UnsignedRangeInclusiveL range)
Construct an update that will replace the range of bytes given by
range in buffer. |
public static <T extends JCGLBufferWritableType> JCGLBufferUpdateType<T> newUpdateReplacingAll(T buffer)
buffer.T - The precise type of bufferbuffer - The bufferpublic static <T extends JCGLBufferWritableType> JCGLBufferUpdateType<T> newUpdateReplacingRange(T buffer, com.io7m.junsigned.ranges.UnsignedRangeInclusiveL range) throws com.io7m.jranges.RangeCheckException
range in buffer.T - The precise type of bufferbuffer - The bufferrange - The rangecom.io7m.jranges.RangeCheckException - Iff range is not included in the
buffer's rangeCopyright © 2016 <code@io7m.com> http://io7m.com