glimpse-core
/
graphics.glimpse.meshes
/
Mesh
common
Mesh
interface
Mesh
Content copied to clipboard
A mesh.
Types
Functions
Properties
Types
Factory
Link copied to clipboard
common
interface
Factory
Content copied to clipboard
A factory for meshes.
Functions
dispose
Link copied to clipboard
common
abstract fun
dispose
(gl:
GlimpseAdapter
)
Content copied to clipboard
Tells the given
OpenGL adapter
to dispose all buffers defined for this mesh.
draw
Link copied to clipboard
common
abstract fun
draw
(gl:
GlimpseAdapter
)
Content copied to clipboard
Tells the given
OpenGL adapter
to draw this mesh.
equals
Link copied to clipboard
common
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
common
open fun
hashCode
():
Int
Content copied to clipboard
toString
Link copied to clipboard
common
open fun
toString
():
String
Content copied to clipboard
useBuffer
Link copied to clipboard
common
abstract fun
useBuffer
(gl:
GlimpseAdapter
, bufferIndex:
Int
)
Content copied to clipboard
Tells the given
OpenGL adapter
to use a buffer at a given
bufferIndex
.
Properties
buffers
Link copied to clipboard
common
abstract val
buffers
:
List
<
Buffer
>
Content copied to clipboard
Buffers of vertex data.
vertexCount
Link copied to clipboard
common
abstract val
vertexCount
:
Int
Content copied to clipboard
Number of vertices drawn for the mesh.