openrndr
0.4.5-dev.4.uncommitted+98ebace
common
openrndr-draw
/
org.openrndr.draw
/
ShaderStorageFormat
Shader
Storage
Format
class
ShaderStorageFormat
(
source
)
Members
Constructors
Shader
Storage
Format
Link copied to clipboard
constructor
(
)
Functions
commit
Link copied to clipboard
fun
commit
(
)
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
has
Member
Link copied to clipboard
fun
hasMember
(
name
:
String
)
:
Boolean
primitive
Link copied to clipboard
fun
primitive
(
name
:
String
,
type
:
BufferPrimitiveType
,
arraySize
:
Int
=
1
)
Adds a custom member to the
ShaderStorageFormat
struct
Link copied to clipboard
fun
struct
(
structName
:
String
,
name
:
String
,
arraySize
:
Int
=
1
,
builder
:
ShaderStorageFormat
.
(
)
->
Unit
)
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Properties
elements
Link copied to clipboard
var
elements
:
MutableList
<
ShaderStorageElement
>
size
Link copied to clipboard
val
size
:
Int
The size of the
ShaderStorageFormat
in bytes