GPU (API)

From ComputerCraft Wiki
Revision as of 00:52, 18 March 2012 by Mast3rPlan (Talk | contribs)

Jump to: navigation, search

The GPU api provides interaction with and is part of the CCGPU peripheral.

Method name Description
[[gpu.setRenderCode(side, renderCode) gpu.setRenderCode([side], renderCode)]] Sets the gpu rendering code, this code is ran every frame.

@param [side] the side the gpu is connected to
@param renderCode the code as a string
@return nil