Difference between revisions of "CCGPU"

From ComputerCraft Wiki
Jump to: navigation, search
Line 6: Line 6:
  
 
== GPU ==
 
== GPU ==
 +
A GPU can be attached to a [[Computer]] on all sides except for the bottom.
 +
The GPU peripheral comes with it's own [[API]] featuring extra methods that cannot be accessed using [[Peripheral_(API) peripheral.wrap]].
  
 
+
You can find the GPU api over [[here GPU_(API)]]
  
 
== Graphics Devices ==
 
== Graphics Devices ==
A graphics device operates on a certain frequency and has an id indicating which buffer it is bound to.
+
A graphics device operates on a certain frequency (corresponding to a [[#GPU]]'s id) and has an id indicating which buffer it is bound to.
 +
All graphics devices have a certain resolution corresponding to the resolution of the graphics they can handle.
  
 
=== Graphics Output Devices ===
 
=== Graphics Output Devices ===
Line 19: Line 22:
  
 
=== Graphics Input Devices ===
 
=== Graphics Input Devices ===
Currently CCGPU doesn't have any default [[#Input Devices]].
+
Currently CCGPU doesn't have any default input devices.
 
A camera might be added in the future.
 
A camera might be added in the future.

Revision as of 01:12, 18 March 2012

The CCGPU peripheral is an addon for ComputerCraft which allows you to do OpenGL operations within computercraft using Lua. The peripheral currently comes with two elements: a #GPU peripheral and a #Monitor output device.

Crafting

Coming soon

GPU

A GPU can be attached to a Computer on all sides except for the bottom. The GPU peripheral comes with it's own API featuring extra methods that cannot be accessed using Peripheral_(API) peripheral.wrap.

You can find the GPU api over here GPU_(API)

Graphics Devices

A graphics device operates on a certain frequency (corresponding to a #GPU's id) and has an id indicating which buffer it is bound to. All graphics devices have a certain resolution corresponding to the resolution of the graphics they can handle.

Graphics Output Devices

Output devices are used to display a certain output buffer to the user.

Monitor

The Monitor block can be placed facing up to 4 directions and

Graphics Input Devices

Currently CCGPU doesn't have any default input devices. A camera might be added in the future.