"No one can be told what GeeXLab is, you have to see it for yourself!"

"Stop Playing Games and Start Making Them! With GeeXLab, your are on your way!"


Quick Links
What is GeeXLab
Download GeeXLab
GeeXLab Requirements
Online Help
Articles and Tutorials
Samples Screenshots
Videos

GeeXLab Changelog

XML Ref. Guide
Scripting Ref. Guide
Code Samples

Purchase GeeXLab
GeeXLab SDK

Shader Library

Follow GeeXLab's News
GeeXLab news, articles, tutorials and demos @ Geeks3D.com
GeeXLab @ Twitter GeeXLab RSS Feed

Subscribe to GeeXLab news by email

[ Back to Geeks3D.com ]

GeeXLab

GeeXLab

Laboratory for Real Time 3D Programming (prototyping and demos)
OpenGL, Lua, Python, GLSL,
PhysX and more...

Reference Guide
XML Nodes



Back to homepage
Back to Developer's Guide Index

<render_texture> XML Node


XML Node Summary
<render_texture
  name=""
  active=""
  width=""
  height=""
  type=""
  >
  <attach_texture_color
    pixel_format=""
    >
  </attach_texture_color>
  <attach_texture_depth
    pixel_format=""
    >
  </attach_texture_depth>
  <attach_render_buffer
    type=""
    pixel_format=""
    >
  </attach_render_buffer>
</render_texture>


<render_texture>

Description
The render_texture node allows the creation of render to texture objects. These objects are use in all kind of effects either directly in scripting or indirectly in post processing filters. A render texture object can have one or two textures (for example: one color texture and one depth texture).

render_texture element has 5 attributes and 3 sub-element(s)

Attributes
  • name [STRING]: name of the render texture object
  • active [INTEGER]: enables (1) or disables (0) the render texture. - Values = 0|1
  • width [INTEGER]: width of the render texture.
  • height [INTEGER]: height of the render texture.
  • type [ENUM]: type of the render texture. This value is used when post-processing filters are used. - Values = FRAMEBUFFER | COMPOSITE

<attach_texture_color>

Description
Adds a color render target.

attach_texture_color element has 1 attributes and 0 sub-element(s)

Attributes
  • pixel_format [ENUM]: pixel format of the color render target - Values = RGBA_FLOAT, RGB_FLOAT, RGBA_32F, RGBA_16F, RGB_32F, RGB_16F

<attach_texture_depth>

Description
Adds a depth render target.

attach_texture_depth element has 1 attributes and 0 sub-element(s)

Attributes
  • pixel_format [ENUM]: pixel format of the depth render target - Values = DEPTH

<attach_render_buffer>

Description
Adds a render buffer.

attach_render_buffer element has 2 attributes and 0 sub-element(s)

Attributes
  • type [ENUM]: type of the render buffer - Values = COLOR, DEPTH, STENCIL
  • pixel_format [ENUM]: pixel format of the render buffer - Values = RGBA_FLOAT_CLAMPED, DEPTH
Random Projects

2D Shockwave Effect
2D Shockwave Effect

Gamma correction PostFX
Gamma correction PostFX

Blender Object Viewer
Blender Object Viewer


Random Code Samples

HUD (Head Up Display)
HUD (Head Up Display)

W4K Format Loading
W4K Format Loading

Draw Line
Draw Line



(C)2009-2010 Geeks3D.com