mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-27 03:48:21 +01:00
19 lines
335 B
Smalltalk
19 lines
335 B
Smalltalk
Class {
|
|
#name : #Uniform4i,
|
|
#superclass : #OpenGLSLUniform,
|
|
#pools : [
|
|
'OpenGLConstants',
|
|
'OpenGLTypes'
|
|
],
|
|
#category : #'Diya-OpenGL'
|
|
}
|
|
|
|
{ #category : #accessing }
|
|
Uniform4i >> setUniformValue: value [
|
|
OpenGLSLUniform uniform4i: location
|
|
value: value first
|
|
value: (value at:2)
|
|
value: (value at:3)
|
|
value: value last
|
|
]
|