toggle menu
lunaCore
androidJvm
switch theme
search in API
lunaCore
/
ru.visionlabs.grafika.gles
/
FlatShadedProgram
Flat
Shaded
Program
open
class
FlatShadedProgram
GL program and supporting functions for flat-shaded rendering.
Members
Constructors
Flat
Shaded
Program
Link copied to clipboard
constructor
(
)
Prepares the program in the current EGL context.
Functions
draw
Link copied to clipboard
open
fun
draw
(
mvpMatrix
:
Array
<
Float
>
,
color
:
Array
<
Float
>
,
vertexBuffer
:
FloatBuffer
,
firstVertex
:
Int
,
vertexCount
:
Int
,
coordsPerVertex
:
Int
,
vertexStride
:
Int
)
Issues the draw call.
release
Link copied to clipboard
open
fun
release
(
)
Releases the program.