is there any way to draw using Start Drawing and sitting in real time in ImageGadget3D?
Code: Select all
;Texture
CreateTexture(1, 256, 256)
StartDrawing(TextureOutput(1))
y = 0
For x = 0 To 95 Step 10
RoundBox(x, y, 200-2*x, 200-2*y, 20, 20, RGB(Random(255), Random(255), Random(255)))
y + 10
Next x
StopDrawing()
OpenWindow3D(1, 0, ScreenHeight-80, ScreenWidth, 80, "", #PB_Window3D_Borderless)
ImageGadget3D(3, 0, 0, ScreenWidth, 80, TextureID(1)) ; TextureOutput(1)) DONT SHOWING TEXTURE CREATED USING StartDrawing !