openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
jvm
Platform filter
jvm
Switch theme
Search in API
openrndr
openrndr-gl3
/
org.openrndr.internal.gl3
/
ComputeShaderGL43
Compute
Shader
GL43
class
ComputeShaderGL43
(
val
programObject
:
Int
,
val
name
:
String
=
"compute_shader"
)
:
ComputeShader
,
ShaderBufferBindingsGL3
,
ShaderUniformsGL3
,
ShaderImageBindingsGL43
(
source
)
Members
Constructors
Compute
Shader
GL43
Link copied to clipboard
constructor
(
programObject
:
Int
,
name
:
String
=
"compute_shader"
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
name
Link copied to clipboard
open
override
val
name
:
String
program
Object
Link copied to clipboard
open
override
val
programObject
:
Int
ssbo
Link copied to clipboard
open
override
val
ssbo
:
Int
ssbo
Resource
Indices
Link copied to clipboard
open
override
val
ssboResourceIndices
:
MutableMap
<
String
,
Int
>
uniforms
Link copied to clipboard
open
override
val
uniforms
:
MutableMap
<
String
,
Int
>
use
Program
Uniform
Link copied to clipboard
open
override
val
useProgramUniform
:
Boolean
Functions
bound
Link copied to clipboard
open
fun
bound
(
f
:
(
)
->
Unit
)
buffer
Link copied to clipboard
abstract
fun
buffer
(
name
:
String
,
counterBuffer
:
AtomicCounterBuffer
)
abstract
fun
buffer
(
name
:
String
,
shaderStorageBuffer
:
ShaderStorageBuffer
)
abstract
fun
buffer
(
name
:
String
,
vertexBuffer
:
VertexBuffer
)
create
SSBO
Link copied to clipboard
open
fun
createSSBO
(
)
:
Int
destroy
Link copied to clipboard
open
override
fun
destroy
(
)
execute
Link copied to clipboard
open
fun
execute
(
dimensions
:
IntVector3
)
open
override
fun
execute
(
width
:
Int
,
height
:
Int
,
depth
:
Int
)
image
Link copied to clipboard
abstract
fun
image
(
name
:
String
,
image
:
Int
,
imageBinding
:
Array
<
out
ImageBinding
>
)
abstract
fun
image
(
name
:
String
,
image
:
Int
,
imageBinding
:
ImageBinding
)
resource
Index
Link copied to clipboard
open
fun
resourceIndex
(
name
:
String
)
:
Int
uniform
Link copied to clipboard
abstract
fun
uniform
(
name
:
String
,
value
:
DoubleArray
)
abstract
fun
uniform
(
name
:
String
,
value
:
Array
<
ColorRGBa
>
)
abstract
fun
uniform
(
name
:
String
,
value
:
Array
<
IntVector2
>
)
abstract
fun
uniform
(
name
:
String
,
value
:
Array
<
IntVector3
>
)
abstract
fun
uniform
(
name
:
String
,
value
:
Array
<
IntVector4
>
)
abstract
fun
uniform
(
name
:
String
,
value
:
Array
<
Matrix33
>
)
abstract
fun
uniform
(
name
:
String
,
value
:
Array
<
Matrix44
>
)
abstract
fun
uniform
(
name
:
String
,
value
:
Array
<
Vector2
>
)
abstract
fun
uniform
(
name
:
String
,
value
:
Array
<
Vector3
>
)
abstract
fun
uniform
(
name
:
String
,
value
:
Array
<
Vector4
>
)
abstract
fun
uniform
(
name
:
String
,
value
:
Boolean
)
abstract
fun
uniform
(
name
:
String
,
value
:
Double
)
abstract
fun
uniform
(
name
:
String
,
value
:
Float
)
abstract
fun
uniform
(
name
:
String
,
value
:
FloatArray
)
abstract
fun
uniform
(
name
:
String
,
value
:
Int
)
abstract
fun
uniform
(
name
:
String
,
value
:
IntArray
)
abstract
fun
uniform
(
name
:
String
,
value
:
ColorRGBa
)
abstract
fun
uniform
(
name
:
String
,
value
:
BooleanVector2
)
abstract
fun
uniform
(
name
:
String
,
value
:
BooleanVector3
)
abstract
fun
uniform
(
name
:
String
,
value
:
BooleanVector4
)
abstract
fun
uniform
(
name
:
String
,
value
:
IntVector2
)
abstract
fun
uniform
(
name
:
String
,
value
:
IntVector3
)
abstract
fun
uniform
(
name
:
String
,
value
:
IntVector4
)
abstract
fun
uniform
(
name
:
String
,
value
:
Matrix33
)
abstract
fun
uniform
(
name
:
String
,
value
:
Matrix44
)
abstract
fun
uniform
(
name
:
String
,
value
:
Vector2
)
abstract
fun
uniform
(
name
:
String
,
value
:
Vector3
)
abstract
fun
uniform
(
name
:
String
,
value
:
Vector4
)
abstract
fun
uniform
(
name
:
String
,
x
:
Float
,
y
:
Float
)
abstract
fun
uniform
(
name
:
String
,
x
:
Float
,
y
:
Float
,
z
:
Float
)
abstract
fun
uniform
(
name
:
String
,
x
:
Float
,
y
:
Float
,
z
:
Float
,
w
:
Float
)
uniform
Index
Link copied to clipboard
open
fun
uniformIndex
(
uniform
:
String
,
query
:
Boolean
=
false
)
:
Int