openrndr
Toggle table of contents
0.4.5-dev.17.uncommitted+81afe70
common
Platform filter
common
Switch theme
Search in API
openrndr
openrndr-draw
/
org.openrndr.draw
/
ShaderStorageFormat
Shader
Storage
Format
class
ShaderStorageFormat
(
source
)
Members
Constructors
Shader
Storage
Format
Link copied to clipboard
constructor
(
)
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
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