| Package | Description |
|---|---|
| com.io7m.jcanephora.core |
Core types and interfaces.
|
| com.io7m.jcanephora.core.api |
Type-safe OpenGL interfaces.
|
| com.io7m.jcanephora.fake |
A fake implementation of the
jcanephora APIs intended for unit
testing code without access to a GPU. |
| Modifier and Type | Method and Description |
|---|---|
static <R extends JCGLResourceUsableType> |
JCGLResources.checkNotDeleted(R r)
Check that the current object has not been deleted.
|
default void |
JCGLArrayObjectBuilderType.setAttributeFloatingPoint(int index,
JCGLArrayBufferUsableType a,
int elements,
JCGLScalarType type,
int stride,
long offset,
boolean normalized) |
void |
JCGLArrayObjectBuilderType.setAttributeFloatingPointWithDivisor(int index,
JCGLArrayBufferUsableType a,
int elements,
JCGLScalarType type,
int stride,
long offset,
boolean normalized,
int divisor)
Configure the attribute
index to retrieve data from a. |
default void |
JCGLArrayObjectBuilderType.setAttributeIntegral(int index,
JCGLArrayBufferUsableType a,
int elements,
JCGLScalarIntegralType type,
int stride,
long offset) |
void |
JCGLArrayObjectBuilderType.setAttributeIntegralWithDivisor(int index,
JCGLArrayBufferUsableType a,
int elements,
JCGLScalarIntegralType type,
int stride,
long offset,
int divisor)
Configure the attribute
index to retrieve data from a. |
void |
JCGLArrayObjectBuilderType.setIndexBuffer(JCGLIndexBufferUsableType i)
Set the index buffer that will be bound by default.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JCGLArrayBuffersType.arrayBufferBind(JCGLArrayBufferUsableType a)
Bind the given array buffer.
|
void |
JCGLArrayBuffersType.arrayBufferDelete(JCGLArrayBufferType a)
Deletes the buffer referenced by
a. |
ByteBuffer |
JCGLArrayBuffersType.arrayBufferRead(JCGLArrayBufferUsableType a,
JCGLByteBufferProducerType f) |
void |
JCGLArrayBuffersType.arrayBufferReallocate(JCGLArrayBufferUsableType a)
Reallocate the storage associated with the array buffer
a. |
void |
JCGLArrayBuffersType.arrayBufferUpdate(JCGLBufferUpdateType<JCGLArrayBufferType> u)
Perform the array buffer update
u. |
void |
JCGLArrayObjectsType.arrayObjectBind(JCGLArrayObjectUsableType a)
Bind the given array object.
|
void |
JCGLArrayObjectsType.arrayObjectDelete(JCGLArrayObjectType a)
Deletes the object referenced by
a. |
void |
JCGLContextType.contextDestroy()
Destroy this context.
|
void |
JCGLIndexBuffersType.indexBufferBind(JCGLIndexBufferUsableType a)
Bind the given index buffer.
|
void |
JCGLIndexBuffersType.indexBufferDelete(JCGLIndexBufferType a)
Deletes the buffer referenced by
a. |
ByteBuffer |
JCGLIndexBuffersType.indexBufferRead(JCGLIndexBufferUsableType i,
JCGLByteBufferProducerType f) |
void |
JCGLIndexBuffersType.indexBufferReallocate(JCGLIndexBufferUsableType i)
Reallocate the storage associated with the index buffer
i. |
void |
JCGLIndexBuffersType.indexBufferUpdate(JCGLBufferUpdateType<JCGLIndexBufferType> u)
Perform the index buffer update
u. |
void |
JCGLShadersType.shaderActivateProgram(JCGLProgramShaderUsableType p)
Activate the given program for use in rendering.
|
void |
JCGLShadersType.shaderDeleteFragment(JCGLFragmentShaderType f)
Delete the given shader.
|
void |
JCGLShadersType.shaderDeleteGeometry(JCGLGeometryShaderType g)
Delete the given shader.
|
void |
JCGLShadersType.shaderDeleteProgram(JCGLProgramShaderType p)
Delete the given shader.
|
void |
JCGLShadersType.shaderDeleteVertex(JCGLVertexShaderType v)
Delete the given shader.
|
JCGLProgramShaderType |
JCGLShadersType.shaderLinkProgram(String name,
JCGLVertexShaderUsableType v,
Optional<JCGLGeometryShaderUsableType> g,
JCGLFragmentShaderUsableType f)
Link a program consisting of the vertex shader
v, the optional
geometry shader g, and the fragment shader f. |
| Modifier and Type | Method and Description |
|---|---|
void |
FakeContext.contextDestroy() |
Copyright © 2016 <code@io7m.com> http://io7m.com