Project

General

Profile

Scol standard library package  0.3.1
Common and usefull functions for all Scol applications
The library : buffer API

Functions

 b3d_bufferDestroy (strView)
 Destroy the buffer.
 b3d_bufferGetObj (strView)
 Get the SO3_BUFFER object from the 3d view object.

Detailed Description

Function Documentation

b3d_bufferDestroy ( strView  )

Destroy the buffer.

Prototype : fun [LIB3D_View] I

Parameters
LIB3D_View: a 3d viewt object
Returns
I : o if success or a positive value if error :
  • 1 : 3D view object is nil
  • 2 : unable to destroy the buffer, it was probably already destroyed (or not created yet)
b3d_bufferGetObj ( strView  )

Get the SO3_BUFFER object from the 3d view object.

Prototype : fun [LIB3D_View] SO3_BUFFER

Parameters
LIB3D_View: a 3d viewt object
Returns
SO3_BUFFER : this buffer object or nil if error
Examples:
3d_test/test_3d.pkg_.