TextureOutput()
语法
OutputID = TextureOutput(#Texture)概要
Returns the OutputID of the image to perform 2D rendering operation on it. Textures created with CreateRenderTexture() are not supported.
参数
#Texture The texture to draw on.
返回值
Returns the output ID or zero if drawing is not possible. This value should be passed directly to the StartDrawing() function to start the drawing operation. The return-value is valid only for one drawing operation and cannot be reused.
示例
... StartDrawing(TextureOutput(#Texture)) ; do some drawing stuff here... StopDrawing()
参阅
StartDrawing(), CreateRenderTexture()
已支持操作系统
所有