openrndr
0.4.5-dev.9+28d315c
common
openrndr-draw
/
org.openrndr.draw
/
ShaderStorageStruct
Shader
Storage
Struct
data
class
ShaderStorageStruct
(
val
structName
:
String
,
val
name
:
String
,
val
elements
:
List
<
ShaderStorageElement
>
,
val
arraySize
:
Int
=
1
,
var
offset
:
Int
=
0
)
:
ShaderStorageElement
(
source
)
Members
Constructors
Shader
Storage
Struct
Link copied to clipboard
constructor
(
structName
:
String
,
name
:
String
,
elements
:
List
<
ShaderStorageElement
>
,
arraySize
:
Int
=
1
,
offset
:
Int
=
0
)
Properties
array
Size
Link copied to clipboard
open
override
val
arraySize
:
Int
=
1
elements
Link copied to clipboard
val
elements
:
List
<
ShaderStorageElement
>
name
Link copied to clipboard
open
override
val
name
:
String
offset
Link copied to clipboard
open
override
var
offset
:
Int
struct
Name
Link copied to clipboard
val
structName
:
String