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.
|
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
R2DeletableTypedelete in interface R2DeletableTypeg - An OpenGL interfaceR2Exception - On errorspublic boolean isDeleted()
isDeleted in interface com.io7m.jcanephora.core.JCGLResourceUsableTypeCopyright © 2016 <code@io7m.com> http://io7m.com