Difference between revisions of "GPU (API)"
From ComputerCraft Wiki
Mast3rPlan (Talk | contribs) |
Mast3rPlan (Talk | contribs) |
||
Line 1: | Line 1: | ||
The GPU api provides interaction with and is part of the [[CCGPU]] peripheral. | The GPU api provides interaction with and is part of the [[CCGPU]] peripheral. | ||
{| border="1" cellpadding="2" cellspacing="0" | {| border="1" cellpadding="2" cellspacing="0" | ||
− | !style="background:#EEE" width=" | + | !style="background:#EEE" width="380px"|Method name |
!style="background:#EEE" width="*"|Description | !style="background:#EEE" width="*"|Description | ||
|- | |- |
Revision as of 00:48, 18 March 2012
The GPU api provides interaction with and is part of the CCGPU peripheral.
Method name | Description |
---|---|
gpu.setRenderCode(side, renderCode) | Sets the gpu rendering code, this code is ran every frame. @param side the side the gpu is connected to |