public final class R2DebugLineSegmentsBatch extends Object implements R2DeletableType
Constructor and Description |
---|
R2DebugLineSegmentsBatch(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type in_g)
Construct a new empty batch.
|
Modifier and Type | Method and Description |
---|---|
com.io7m.jcanephora.core.JCGLArrayObjectUsableType |
arrayObject() |
void |
delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g)
Delete the current object.
|
boolean |
isDeleted() |
void |
setLineSegments(List<R2DebugLineSegment> segments)
Set the line segments and create any necessary batches on the GPU.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
wrap
public R2DebugLineSegmentsBatch(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type in_g)
in_g
- A GL interfacepublic com.io7m.jcanephora.core.JCGLArrayObjectUsableType arrayObject()
public void setLineSegments(List<R2DebugLineSegment> segments)
segments
- The line segmentspublic void delete(com.io7m.jcanephora.core.api.JCGLInterfaceGL33Type g) throws R2Exception
R2DeletableType
delete
in interface R2DeletableType
g
- An OpenGL interfaceR2Exception
- On errorspublic boolean isDeleted()
isDeleted
in interface com.io7m.jcanephora.core.JCGLResourceUsableType
Copyright © 2017 <code@io7m.com> http://io7m.com