Handbook
Glossary
RenderTexture2D
Vocabulary
raylib
Class description
FBO for texture rendering.
Fields
id
uint
OpenGL Framebuffer Object (FBO) id
texture
Texture2D
Color buffer attachment texture
depth
Texture2D
Depth buffer attachment texture
Definition
USING:
alien.c-types
classes.struct
;
IN:
raylib
STRUCT:
RenderTexture2D
{
id
uint
initial:
0
}
{
texture
Texture2D
initial:
S{
Texture2D
{
id 0
}
{
width 0
}
{
height 0
}
{
mipmaps 0
}
{
format 0
}
}
}
{
depth
Texture2D
initial:
S{
Texture2D
{
id 0
}
{
width 0
}
{
height 0
}
{
mipmaps 0
}
{
format 0
}
}
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
raylib
;
M:
RenderTexture2D
clone
clone-underlying
\
RenderTexture2D
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
raylib
;
M:
RenderTexture2D
struct-slot-values
{
[
id>>
]
[
texture>>
]
[
depth>>
]
}
cleave>array
;
inline