mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-27 03:48:21 +01:00
111 lines
1.7 KiB
Smalltalk
111 lines
1.7 KiB
Smalltalk
|
Class {
|
||
|
#name : #OpenGLTexImage2D,
|
||
|
#superclass : #DiyaBaseObject,
|
||
|
#instVars : [
|
||
|
'target',
|
||
|
'level',
|
||
|
'internalFormat',
|
||
|
'width',
|
||
|
'height',
|
||
|
'border',
|
||
|
'format',
|
||
|
'type',
|
||
|
'data'
|
||
|
],
|
||
|
#pools : [
|
||
|
'OpenGLConstants',
|
||
|
'OpenGLTypes'
|
||
|
],
|
||
|
#category : #'Diya-OpenGL'
|
||
|
}
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> border [
|
||
|
^ border
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> border: anObject [
|
||
|
border := anObject
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> data [
|
||
|
^ data
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> data: anObject [
|
||
|
data := anObject
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> format [
|
||
|
^ format
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> format: anObject [
|
||
|
format := anObject
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> height [
|
||
|
^ height
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> height: anObject [
|
||
|
height := anObject
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> internalFormat [
|
||
|
^ internalFormat
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> internalFormat: anObject [
|
||
|
internalFormat := anObject
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> level [
|
||
|
^ level
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> level: anObject [
|
||
|
level := anObject
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> target [
|
||
|
^ target
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> target: anObject [
|
||
|
target := anObject
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> type [
|
||
|
^ type
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> type: anObject [
|
||
|
type := anObject
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> width [
|
||
|
^ width
|
||
|
]
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
OpenGLTexImage2D >> width: anObject [
|
||
|
width := anObject
|
||
|
]
|