RenderTexture2D


Vocabulary
raylib

Class description
FBO for texture rendering.

Fields
iduintOpenGL Framebuffer Object (FBO) id
textureTexture2DColor buffer attachment texture
depthTexture2DDepth buffer attachment texture


Definition


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