Bug 778

Summary: GLJPanel: Add API entry to define texture-unit for FBO/GLSL usage
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: awtAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
de2905a6fce37e7caf69b148ef4cf7f347559530
Workaround: ---

Description Sven Gothel 2013-07-11 05:02:09 CEST

    
Comment 1 Sven Gothel 2013-07-11 05:02:45 CEST
    GLJPanel: Add remark about FBO / GLSL texture-unit usage in API doc; Add API entry to set/get texture unit (default 0).
    
    Allowing a user to set a specific texture-unit and to query the used texture-unit,
    allows one to avoid a collision w/ own texture programming .. i.e. removes the burden to setup all params etc.