![]() |
| jit.gl.videoplane | GL accelerated video plane |
| GL Group |
| Attributes: |
| Name | Type | Description |
| client_storage | int | Client storage flag (default = 1) When this flag is set, the jit.gl.videoplane object uses the incoming matrix’s storage rather than allocating texture memory. This attribute is only valid on OS X. |
| colormode | symbol | Color mode (default = argb). Possible values are argb or uyvy. |
| dim | int list[2] | The dimensions of the grid (default = 20 20) |
| displaylist | int | Cache in displaylist flag (default = 0) This feature may be used to speed up rendering time by creating and storing a list of gl drawing commands on the graphics card. This will have no effect if matrixoutput turned on. |
| gridmode | int |
Grid render mode (default = 0 (quadrilateral grid)) 0 = quad_grid (quadrilateral grid) 1 = tri_grid (triangular grid) |
| interp | int | Interpolation flag (default = 1) |
| nudge | float | Texture nudge value (default = 0.01) This value is the amount the texture is nudged from it’s boundarys to accomodate for boundary errors when mapping the texture to the plane. |
| tex_offset_x | float | Texture x-offset (default = 0.) |
| tex_offset_y | float | Texture y-offset (default = 0.) |
| tex_scale_x | float | Texture x-scale (default = 1.) |
| tex_scale_y | float | Texture y-scale (default = 1.) |
| Messages: |
| sendtexture [message (list)] |
| Sends the internal jit.gl.texture object the corresponding message. |
| Example: |
