RenderSequenceData Functions

Return to Functions

 

Related Pages:


RenderSequenceData_Create

    Arguments:
        1) real?: sizeReserve
    Returns:
        real: dataID

Creates a render sequence data-object and returns its ID.

sizeReserve is the amount of memory to pre-allocate for the render sequence's command list.
This argument may be omitted to use the default value.

Note: This is a data-object, which is NOT a standard object. Only DataObj functions and other RenderSequenceData functions will work on it.

RenderSequenceData_Delete

    Arguments:
        1) real: dataIDs...

Deletes the render sequence data-object(s) associated with the given ID(s).

Note: This is an alias for DataObj_Delete.

RenderSequenceData_CopyCommands

    Arguments:
        1) real: dataID
        2) real: sourceDataID

Copies the render sequence command list from sourceDataID.

RenderSequenceData_AddCommand

    Arguments:
        1) real: dataID
        2) real const: renderCommandType
        3+) real: args...
    Returns:
        real: index

Adds a render command to the data's render sequence and returns its index.

RenderSequenceData_GetCommandCount

    Arguments:
        1) real: dataID
    Returns:
        real: commandCount

Returns the total number of commands that were added to this data's render sequence.

RenderSequenceData_SetJumpDest

    Arguments:
        1) real: dataID
        2) real: index
        3) real: dest

Sets the jump destination of the command at the given index in the sequence to dest.