Handbook
Glossary
framebuffer-attachment-dim ( framebuffer-attachment -- dim )
Vocabulary
gpu
.
framebuffers
.
private
Inputs
framebuffer-attachment
an
object
Outputs
dim
an
object
Definition
IN:
gpu.framebuffers.private
GENERIC:
framebuffer-attachment-dim
( framebuffer-attachment -- dim )
Methods
USING:
gpu.framebuffers
gpu.framebuffers.private
;
M:
renderbuffer
framebuffer-attachment-dim
renderbuffer-dim
;
USING:
accessors
arrays
gpu.framebuffers
gpu.framebuffers.private
gpu.textures
kernel
math
sequences
;
M:
texture-attachment
framebuffer-attachment-dim
[
texture>>
]
[
level>>
]
bi
texture-dim
dup
number?
[
1
2array
]
[
2
head
]
if
;