toggle menu
stream-webrtc-android
1.2.2
androidJvm
switch theme
search in API
stream-webrtc-android
/
org.webrtc
/
GlShader
Gl
Shader
open
class
GlShader
Members
Constructors
Gl
Shader
Link copied to clipboard
constructor
(
vertexSource
:
String
,
fragmentSource
:
String
)
Functions
get
Attrib
Location
Link copied to clipboard
open
fun
getAttribLocation
(
label
:
String
)
:
Int
get
Uniform
Location
Link copied to clipboard
open
fun
getUniformLocation
(
label
:
String
)
:
Int
release
Link copied to clipboard
open
fun
release
(
)
set
Vertex
Attrib
Array
Link copied to clipboard
open
fun
setVertexAttribArray
(
label
:
String
,
dimension
:
Int
,
buffer
:
FloatBuffer
)
open
fun
setVertexAttribArray
(
label
:
String
,
dimension
:
Int
,
stride
:
Int
,
buffer
:
FloatBuffer
)
Enable and upload a vertex array for attribute `label`.
use
Program
Link copied to clipboard
open
fun
useProgram
(
)