Open Search
    PaintManager Struct Reference

    #include <lib_paint.h>

    Detailed Description

    Functions to access Texture Views.

    Public Member Functions

    Int32 GetViewCount ()
     
    maxon::BaseArray< Int32 > * GetViewIds ()
     
    Int32 GetActiveViewId ()
     
    Bool ResetActiveView ()
     
    Bool GetAllowSelectUpdate ()
     
    Bool SetAllowSelectUpdate (Bool _allowSelectUpdate)
     

    Member Function Documentation

    ◆ GetViewCount()

    Int32 GetViewCount ( )

    Gets the number of opened Texture Views.

    Returns
    The number of opened Texture Views.

    ◆ GetViewIds()

    maxon::BaseArray<Int32>* GetViewIds ( )

    Gets the array of unique Texture View IDs.

    Returns
    The array of Texture View IDs.

    ◆ GetActiveViewId()

    Int32 GetActiveViewId ( )

    Gets the ID of the Texture View that currently has focus (if any).

    Returns
    The ID of the Texture View which has focus, NOTOK if none found.

    ◆ ResetActiveView()

    Bool ResetActiveView ( )

    Removes focus from Texture View which currently has focus.

    Returns
    true if successful, otherwise false.

    ◆ GetAllowSelectUpdate()

    Bool GetAllowSelectUpdate ( )

    Gets the flag indicating if the Texture View in focus updates with selection changes.

    Returns
    true if context updates are enabled, otherwise false.

    ◆ SetAllowSelectUpdate()

    Bool SetAllowSelectUpdate ( Bool  _allowSelectUpdate)

    Sets the flag indicating if the Texture View in focus updates with selection changes.

    Parameters
    [in]_allowSelectUpdatePass true to enable context updates.
    Returns
    true if successful, otherwise false.