Support Forum       G3D Web Page     
Public Types | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Friends | List of all members
G3D::GuiTextureBox Class Reference

Inherits G3D::GuiContainer.

Public Types

enum  { CONTROL_HEIGHT = 25 }
 
enum  { CONTROL_WIDTH = 215 }
 
enum  { BUTTON_WIDTH = 80 }
 
enum  { TOOL_BUTTON_WIDTH = 50 }
 
enum  { CONTROL_PADDING = 4 }
 

Public Member Functions

 GuiTextureBox (GuiContainer *parent, const GuiText &caption, GApp *app, const shared_ptr< Texture > &t=shared_ptr< Texture >(), bool embeddedMode=false, bool drawInverted=false)
 In most cases, you'll want to call GuiPane::addTextureBox instead. More...
 
virtual ~GuiTextureBox ()
 
const GuiTextcaption () const
 
float captionHeight () const
 For controls that have a caption outside the bounds of the control on the top or bottom, this is the size reserved for the caption. More...
 
float captionWidth () const
 For controls that have a caption outside the bounds of the control on the left, this is the size reserved for the caption. More...
 
const Rect2DclickRect () const
 Used by GuiContainers. More...
 
const Rect2DclientRect () const
 Client rect bounds, relative to the parent (or window if there is no parent). More...
 
virtual float defaultCaptionHeight () const
 Default caption size for this control. More...
 
virtual float defaultCaptionWidth () const
 
bool enabled () const
 
virtual void findControlUnderMouse (Vector2 mouse, GuiControl *&control) override
 Return the enabled, visible control containing the mouse. More...
 
bool focused () const
 
Vector2 fromOSWindowCoords (const Vector2 &v) const
 Transforms v from OS window coordinates to this control's coordinates. More...
 
virtual void increaseBounds (const Vector2 &extent)
 Updates this container to ensure that its client rect is least as wide and high as the specified extent, then recursively calls increaseBounds on its parent. More...
 
bool mouseOver () const
 
void moveBy (const Vector2 &delta)
 
void moveBy (float dx, float dy)
 
void moveRightOf (const GuiControl *control, const Vector2 &offset)
 If these two controls have the same parent, move this one immediately to the right of the argument. More...
 
void moveRightOf (const GuiControl *control, float offsetX=0.0f)
 
bool movieRecording () const
 True if movie recording. More...
 
virtual bool onChildControlEvent (const GEvent &event)
 Invoked immediately (i.e., outside of the queue sequence) when a child fires an event through Widget::fireEvent. More...
 
virtual bool onEvent (const GEvent &event) override
 Events are only delivered (by GuiWindow) to a GuiControl when the control has the key focus. More...
 
void rawSave ()
 Brings up the modal save dialog to save the underlying data. More...
 
const Rect2Drect () const
 
virtual void render (RenderDevice *rd, const shared_ptr< GuiTheme > &theme, bool ancestorsEnabled) const override
 
Only methods on theme may be called from this method by default. More...
 
void save ()
 Brings up the modal save dialog to save an image with post-processing. More...
 
virtual void setCaption (const GuiText &text) override
 
virtual void setCaptionHeight (float c)
 
virtual void setCaptionWidth (float c)
 
virtual void setEnabled (bool e)
 
void setEventSource (GuiControl *c)
 
void setFocused (bool b)
 Grab or release keyboard focus. More...
 
void setHeight (float h)
 
void setInverted (const bool inverted)
 Set m_drawInverted. More...
 
void setMovieRecording (bool b)
 Start/stop movie recording. More...
 
void setPosition (const Vector2 &v)
 
void setPosition (float x, float y)
 
virtual void setRect (const Rect2D &rect) override
 If you explicitly change the rectangle of a control, the containing pane may clip its borders. More...
 
void setSettings (const Texture::Visualization &s)
 
void setShaderArgs (UniformTable &args)
 
void setShowInfo (bool b)
 Controls the display of (x,y)=rgba when the mouse is over the box. More...
 
void setSize (const Vector2 &v)
 
void setSize (float x, float y)
 
void setSizeFromInterior (const Vector2 &dims)
 Sizes the control so that exactly dims of viewing space is available. More...
 
void setTexture (const shared_ptr< Texture > &t)
 If the texture was previously nullptr, also invokes zoomToFit() More...
 
void setTexture (const shared_ptr< Texture > &t, bool drawInverted)
 
const Texture::Visualizationsettings () const
 
void setViewOffset (const Vector2 &x)
 
void setViewZoom (float z)
 
void setVisible (bool b)
 
void setWidth (float w)
 
bool showInfo () const
 
void showInspector ()
 Starts the inspector window. More...
 
const shared_ptr< Texture > & texture () const
 
shared_ptr< GuiThemetheme () const
 
void toggleDrawer ()
 Invoked by the drawer button. More...
 
virtual bool toolStyle () const
 Return true if this is in tool button style. More...
 
Vector2 toOSWindowCoords (const Vector2 &v) const
 Returns the coordinates of v, which is in the coordinate system of this object, relative to the OSWindow on which it will be rendered. More...
 
Rect2D toOSWindowCoords (const Rect2D &r) const
 
const Vector2viewOffset () const
 Offset of the texture from the centered position. More...
 
float viewZoom () const
 Zoom factor for the texture display. More...
 
bool visible () const
 
GuiWindowwindow () const
 Get the window containing this control. More...
 
void zoomIn ()
 
void zoomOut ()
 
void zoomTo1 ()
 Change the scale to 1:1 pixel. More...
 
void zoomToFit ()
 Center the image and scale it to fill the viewport. More...
 

Public Attributes

GAppm_app
 

Protected Types

enum  {
  LEFT_CAPTION_WIDTH = 80,
  TOP_CAPTION_HEIGHT = 20
}
 
enum  { BORDER = 1 }
 Padding around the image. More...
 

Protected Member Functions

shared_ptr< TextureapplyProcessing () const
 Compute a new Texture that is the result of applying all of the visualization post-processing. More...
 
Rect2D canvasRect () const
 Returns the bounds of the canvas (display) region for this GuiTextBox. More...
 
Rect2D canvasRect (const Rect2D &rect) const
 Returns the bounds of the canvas (display) region for a GuiTextBox of size rect. More...
 
void computeSizeString () const
 
void drawTexture (RenderDevice *rd, const Rect2D &r) const
 
void fireEvent (GEventType type)
 Fires an event. More...
 

Protected Attributes

GuiText m_caption
 
float m_captionHeight
 
float m_captionWidth
 
Rect2D m_clickRect
 Rect bounds used for mouse actions. More...
 
Rect2D m_clientRect
 Position to which all child controls are relative. More...
 
Rect2D m_clipBounds
 Bounds for mouse clicks and scissor region, updated by every render. More...
 
bool m_dragging
 True when dragging the image. More...
 
Vector2 m_dragStart
 
bool m_drawInverted
 If true, textures are drawn with the Y coordinate inverted. More...
 
bool m_embeddedMode
 If true, this is the texture box inside of the inspector and should not be a button. More...
 
bool m_enabled
 
GuiControlm_eventSource
 Sent events should appear to be from this object, which is usually "this". More...
 
GuiWindowm_gui
 The window that ultimately contains this control. More...
 
weak_ptr< GuiTextureBoxInspectorm_inspector
 
const ImageFormatm_lastFormat
 
Vector2int16 m_lastSize
 
GuiText m_lastSizeCaption
 Cached formatting of m_lastSize. More...
 
Vector2 m_offset
 
Vector2 m_offsetAtDragStart
 
GuiContainerm_parent
 Parent pane. More...
 
Vector2int16 m_readbackXY
 Readback position. More...
 
shared_ptr< CallbackWidgetm_recordWidget
 
Rect2D m_rect
 Rect bounds used for rendering and layout. More...
 
Texture::Visualization m_settings
 
bool m_showCubemapEdges
 
bool m_showInfo
 
Color4 m_texel
 Readback texel. More...
 
shared_ptr< Texturem_texture
 
shared_ptr< class VideoOutputm_videoOutput
 When recording a movie. More...
 
bool m_visible
 
float m_zoom
 

Friends

class GuiTextureBoxInspector
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
inherited
Enumerator
CONTROL_HEIGHT 

◆ anonymous enum

anonymous enum
inherited
Enumerator
CONTROL_WIDTH 

◆ anonymous enum

anonymous enum
inherited
Enumerator
BUTTON_WIDTH 

◆ anonymous enum

anonymous enum
inherited
Enumerator
TOOL_BUTTON_WIDTH 

◆ anonymous enum

anonymous enum
inherited
Enumerator
CONTROL_PADDING 

◆ anonymous enum

anonymous enum
protectedinherited
Enumerator
LEFT_CAPTION_WIDTH 
TOP_CAPTION_HEIGHT 

◆ anonymous enum

anonymous enum
protected

Padding around the image.

Enumerator
BORDER 

Constructor & Destructor Documentation

◆ GuiTextureBox()

G3D::GuiTextureBox::GuiTextureBox ( GuiContainer parent,
const GuiText caption,
GApp app,
const shared_ptr< Texture > &  t = shared_ptr< Texture >(),
bool  embeddedMode = false,
bool  drawInverted = false 
)

In most cases, you'll want to call GuiPane::addTextureBox instead.

Parameters
embeddedModeWhen set to true, hides the controls that duplicate inspector functionality.

◆ ~GuiTextureBox()

virtual G3D::GuiTextureBox::~GuiTextureBox ( )
virtual

Member Function Documentation

◆ applyProcessing()

shared_ptr<Texture> G3D::GuiTextureBox::applyProcessing ( ) const
protected

Compute a new Texture that is the result of applying all of the visualization post-processing.

This is used for producing images to save. The normal rendering path does not call this function.

◆ canvasRect() [1/2]

Rect2D G3D::GuiTextureBox::canvasRect ( ) const
protected

Returns the bounds of the canvas (display) region for this GuiTextBox.

◆ canvasRect() [2/2]

Rect2D G3D::GuiTextureBox::canvasRect ( const Rect2D rect) const
protected

Returns the bounds of the canvas (display) region for a GuiTextBox of size rect.

◆ caption()

const GuiText& G3D::GuiControl::caption ( ) const
inherited

◆ captionHeight()

float G3D::GuiControl::captionHeight ( ) const
inherited

For controls that have a caption outside the bounds of the control on the top or bottom, this is the size reserved for the caption.

◆ captionWidth()

float G3D::GuiControl::captionWidth ( ) const
inherited

For controls that have a caption outside the bounds of the control on the left, this is the size reserved for the caption.

◆ clickRect()

const Rect2D& G3D::GuiControl::clickRect ( ) const
inlineinherited

Used by GuiContainers.

◆ clientRect()

const Rect2D& G3D::GuiContainer::clientRect ( ) const
inlineinherited

Client rect bounds, relative to the parent (or window if there is no parent).

◆ computeSizeString()

void G3D::GuiTextureBox::computeSizeString ( ) const
protected

◆ defaultCaptionHeight()

virtual float G3D::GuiControl::defaultCaptionHeight ( ) const
inlinevirtualinherited

Default caption size for this control.

Reimplemented in G3D::GuiFunctionBox.

◆ defaultCaptionWidth()

virtual float G3D::GuiControl::defaultCaptionWidth ( ) const
inlinevirtualinherited

◆ drawTexture()

void G3D::GuiTextureBox::drawTexture ( RenderDevice rd,
const Rect2D r 
) const
protected

◆ enabled()

bool G3D::GuiControl::enabled ( ) const
inherited

◆ findControlUnderMouse()

virtual void G3D::GuiTextureBox::findControlUnderMouse ( Vector2  mouse,
GuiControl *&  control 
)
overridevirtual

Return the enabled, visible control containing the mouse.

The default implementation returns itself if the mouse is within its bounds. GuiContainers should override this to iterate through children. Since only one (non-overlapping) child will write to control, it is sufficient to call this on all children without testing to see if one already wrote to control.

Reimplemented from G3D::GuiControl.

◆ fireEvent()

void G3D::GuiControl::fireEvent ( GEventType  type)
protectedinherited

Fires an event.

◆ focused()

bool G3D::GuiControl::focused ( ) const
inherited

◆ fromOSWindowCoords()

Vector2 G3D::GuiControl::fromOSWindowCoords ( const Vector2 v) const
inherited

Transforms v from OS window coordinates to this control's coordinates.

◆ increaseBounds()

virtual void G3D::GuiContainer::increaseBounds ( const Vector2 extent)
virtualinherited

Updates this container to ensure that its client rect is least as wide and high as the specified extent, then recursively calls increaseBounds on its parent.

Used during automatic layout sizing.

◆ mouseOver()

bool G3D::GuiControl::mouseOver ( ) const
inherited

◆ moveBy() [1/2]

void G3D::GuiControl::moveBy ( const Vector2 delta)
inherited

◆ moveBy() [2/2]

void G3D::GuiControl::moveBy ( float  dx,
float  dy 
)
inherited

◆ moveRightOf() [1/2]

void G3D::GuiControl::moveRightOf ( const GuiControl control,
const Vector2 offset 
)
inherited

If these two controls have the same parent, move this one immediately to the right of the argument.

Parameters
offsetMay be negative

Referenced by G3D::GuiControl::moveRightOf().

◆ moveRightOf() [2/2]

void G3D::GuiControl::moveRightOf ( const GuiControl control,
float  offsetX = 0.0f 
)
inlineinherited

◆ movieRecording()

bool G3D::GuiTextureBox::movieRecording ( ) const
inline

True if movie recording.

◆ onChildControlEvent()

virtual bool G3D::GuiContainer::onChildControlEvent ( const GEvent event)
virtualinherited

Invoked immediately (i.e., outside of the queue sequence) when a child fires an event through Widget::fireEvent.

If this method returns true, the event is never submitted to the event queue. The default implementation passes the event to the GUI parent of this GuiContainer.

This enables creation of new custom controls by embedding other controls inside a GuiContainer; the container can suppress or watch the child control events in order to present its own behavior to its parent and the GuiWindow.

◆ onEvent()

virtual bool G3D::GuiTextureBox::onEvent ( const GEvent event)
overridevirtual

Events are only delivered (by GuiWindow) to a GuiControl when the control has the key focus.

If the control does not consume the event, the event is delivered to each of its GUI parents in order, back to the window's root pane.

Key focus is transferred during a mouse down event.

Reimplemented from G3D::GuiControl.

◆ rawSave()

void G3D::GuiTextureBox::rawSave ( )

Brings up the modal save dialog to save the underlying data.

◆ rect()

const Rect2D& G3D::GuiControl::rect ( ) const
inherited

◆ render()

virtual void G3D::GuiTextureBox::render ( RenderDevice rd,
const shared_ptr< GuiTheme > &  theme,
bool  ancestorsEnabled 
) const
overridevirtual


Only methods on theme may be called from this method by default.

To make arbitrary RenderDevice calls, wrap them in GuiTheme::pauseRendering ... GuiTheme::resumeRendering.

Parameters
ancestorsEnabledDraw as disabled if this is false or if enabled() is false.

Implements G3D::GuiControl.

◆ save()

void G3D::GuiTextureBox::save ( )

Brings up the modal save dialog to save an image with post-processing.

◆ setCaption()

virtual void G3D::GuiTextureBox::setCaption ( const GuiText text)
overridevirtual

Reimplemented from G3D::GuiControl.

◆ setCaptionHeight()

virtual void G3D::GuiControl::setCaptionHeight ( float  c)
virtualinherited

◆ setCaptionWidth()

virtual void G3D::GuiControl::setCaptionWidth ( float  c)
virtualinherited

◆ setEnabled()

virtual void G3D::GuiControl::setEnabled ( bool  e)
virtualinherited

◆ setEventSource()

void G3D::GuiControl::setEventSource ( GuiControl c)
inlineinherited

◆ setFocused()

void G3D::GuiControl::setFocused ( bool  b)
inherited

Grab or release keyboard focus.

◆ setHeight()

void G3D::GuiControl::setHeight ( float  h)
inherited

◆ setInverted()

void G3D::GuiTextureBox::setInverted ( const bool  inverted)
inline

Set m_drawInverted.

◆ setMovieRecording()

void G3D::GuiTextureBox::setMovieRecording ( bool  b)

Start/stop movie recording.

Stopping brings up the save box. Destroying the GuiTextureBox cancels automatically.

◆ setPosition() [1/2]

void G3D::GuiControl::setPosition ( const Vector2 v)
inherited

◆ setPosition() [2/2]

void G3D::GuiControl::setPosition ( float  x,
float  y 
)
inherited

◆ setRect()

virtual void G3D::GuiTextureBox::setRect ( const Rect2D rect)
overridevirtual

If you explicitly change the rectangle of a control, the containing pane may clip its borders.

Call pack() on the containing pane (or window) to resize that container appropriately.

Reimplemented from G3D::GuiContainer.

◆ setSettings()

void G3D::GuiTextureBox::setSettings ( const Texture::Visualization s)

◆ setShaderArgs()

void G3D::GuiTextureBox::setShaderArgs ( UniformTable args)

◆ setShowInfo()

void G3D::GuiTextureBox::setShowInfo ( bool  b)
inline

Controls the display of (x,y)=rgba when the mouse is over the box.

Defaults to true. Note that displaying these values can significantly impact performance because it must read back from the GPU to the CPU.

◆ setSize() [1/2]

void G3D::GuiControl::setSize ( const Vector2 v)
inherited

◆ setSize() [2/2]

void G3D::GuiControl::setSize ( float  x,
float  y 
)
inherited

◆ setSizeFromInterior()

void G3D::GuiTextureBox::setSizeFromInterior ( const Vector2 dims)

Sizes the control so that exactly dims of viewing space is available.

Useful for ensuring that textures are viewed at 1:1.

◆ setTexture() [1/2]

void G3D::GuiTextureBox::setTexture ( const shared_ptr< Texture > &  t)

If the texture was previously nullptr, also invokes zoomToFit()

◆ setTexture() [2/2]

void G3D::GuiTextureBox::setTexture ( const shared_ptr< Texture > &  t,
bool  drawInverted 
)

◆ settings()

const Texture::Visualization& G3D::GuiTextureBox::settings ( ) const
inline

◆ setViewOffset()

void G3D::GuiTextureBox::setViewOffset ( const Vector2 x)

◆ setViewZoom()

void G3D::GuiTextureBox::setViewZoom ( float  z)

◆ setVisible()

void G3D::GuiControl::setVisible ( bool  b)
inherited

◆ setWidth()

void G3D::GuiControl::setWidth ( float  w)
inherited

◆ showInfo()

bool G3D::GuiTextureBox::showInfo ( ) const
inline

◆ showInspector()

void G3D::GuiTextureBox::showInspector ( )

Starts the inspector window.

Invoked by the inspector button.

◆ texture()

const shared_ptr<Texture>& G3D::GuiTextureBox::texture ( ) const
inline

◆ theme()

shared_ptr<GuiTheme> G3D::GuiControl::theme ( ) const
inherited

◆ toggleDrawer()

void G3D::GuiTextureBox::toggleDrawer ( )

Invoked by the drawer button.

Do not call directly.

◆ toolStyle()

virtual bool G3D::GuiControl::toolStyle ( ) const
inlinevirtualinherited

Return true if this is in tool button style.

Reimplemented in G3D::GuiRadioButton, G3D::GuiButton, and G3D::GuiCheckBox.

◆ toOSWindowCoords() [1/2]

Vector2 G3D::GuiControl::toOSWindowCoords ( const Vector2 v) const
inherited

Returns the coordinates of v, which is in the coordinate system of this object, relative to the OSWindow on which it will be rendered.

Referenced by G3D::GuiControl::toOSWindowCoords().

◆ toOSWindowCoords() [2/2]

Rect2D G3D::GuiControl::toOSWindowCoords ( const Rect2D r) const
inlineinherited

◆ viewOffset()

const Vector2& G3D::GuiTextureBox::viewOffset ( ) const
inline

Offset of the texture from the centered position.

Positive = right and down.

◆ viewZoom()

float G3D::GuiTextureBox::viewZoom ( ) const
inline

Zoom factor for the texture display.

Greater than 1 = zoomed in.

◆ visible()

bool G3D::GuiControl::visible ( ) const
inherited

◆ window()

GuiWindow* G3D::GuiControl::window ( ) const
inherited

Get the window containing this control.

◆ zoomIn()

void G3D::GuiTextureBox::zoomIn ( )

◆ zoomOut()

void G3D::GuiTextureBox::zoomOut ( )

◆ zoomTo1()

void G3D::GuiTextureBox::zoomTo1 ( )

Change the scale to 1:1 pixel.

◆ zoomToFit()

void G3D::GuiTextureBox::zoomToFit ( )

Center the image and scale it to fill the viewport.

Friends And Related Function Documentation

◆ GuiTextureBoxInspector

friend class GuiTextureBoxInspector
friend

Member Data Documentation

◆ m_app

GApp* G3D::GuiTextureBox::m_app

◆ m_caption

GuiText G3D::GuiControl::m_caption
protectedinherited

◆ m_captionHeight

float G3D::GuiControl::m_captionHeight
protectedinherited

◆ m_captionWidth

float G3D::GuiControl::m_captionWidth
protectedinherited

◆ m_clickRect

Rect2D G3D::GuiControl::m_clickRect
protectedinherited

Rect bounds used for mouse actions.

Updated by setRect.

Referenced by G3D::GuiControl::clickRect().

◆ m_clientRect

Rect2D G3D::GuiContainer::m_clientRect
protectedinherited

Position to which all child controls are relative.

Referenced by G3D::GuiContainer::clientRect(), G3D::GuiNumberBox< int >::findControlUnderMouse(), and G3D::GuiNumberBox< int >::render().

◆ m_clipBounds

Rect2D G3D::GuiTextureBox::m_clipBounds
protected

Bounds for mouse clicks and scissor region, updated by every render.

◆ m_dragging

bool G3D::GuiTextureBox::m_dragging
protected

True when dragging the image.

◆ m_dragStart

Vector2 G3D::GuiTextureBox::m_dragStart
protected

◆ m_drawInverted

bool G3D::GuiTextureBox::m_drawInverted
protected

If true, textures are drawn with the Y coordinate inverted.

Ignored if drawing a cube map.

Referenced by setInverted().

◆ m_embeddedMode

bool G3D::GuiTextureBox::m_embeddedMode
protected

If true, this is the texture box inside of the inspector and should not be a button.

◆ m_enabled

bool G3D::GuiControl::m_enabled
protectedinherited

◆ m_eventSource

GuiControl* G3D::GuiControl::m_eventSource
protectedinherited

Sent events should appear to be from this object, which is usually "this".

Other controls can set the event source to create compound controls that seem atomic from the outside.

Referenced by G3D::GuiSlider< int >::GuiSlider(), G3D::GuiNumberBox< Value >::MyTextBox::MyTextBox(), and G3D::GuiControl::setEventSource().

◆ m_gui

GuiWindow* G3D::GuiControl::m_gui
protectedinherited

The window that ultimately contains this control.

◆ m_inspector

weak_ptr<GuiTextureBoxInspector> G3D::GuiTextureBox::m_inspector
protected

◆ m_lastFormat

const ImageFormat* G3D::GuiTextureBox::m_lastFormat
mutableprotected

◆ m_lastSize

Vector2int16 G3D::GuiTextureBox::m_lastSize
mutableprotected

◆ m_lastSizeCaption

GuiText G3D::GuiTextureBox::m_lastSizeCaption
mutableprotected

Cached formatting of m_lastSize.

◆ m_offset

Vector2 G3D::GuiTextureBox::m_offset
protected

Referenced by viewOffset().

◆ m_offsetAtDragStart

Vector2 G3D::GuiTextureBox::m_offsetAtDragStart
protected

◆ m_parent

GuiContainer* G3D::GuiControl::m_parent
protectedinherited

Parent pane.

◆ m_readbackXY

Vector2int16 G3D::GuiTextureBox::m_readbackXY
mutableprotected

Readback position.

◆ m_recordWidget

shared_ptr<CallbackWidget> G3D::GuiTextureBox::m_recordWidget
protected

◆ m_rect

Rect2D G3D::GuiControl::m_rect
protectedinherited

Rect bounds used for rendering and layout.

Relative to the enclosing pane's clientRect.

Referenced by G3D::GuiControl::findControlUnderMouse(), G3D::GuiNumberBox< int >::render(), G3D::GuiNumberBox< int >::setCaption(), and G3D::GuiNumberBox< int >::setRect().

◆ m_settings

Texture::Visualization G3D::GuiTextureBox::m_settings
protected

Referenced by settings().

◆ m_showCubemapEdges

bool G3D::GuiTextureBox::m_showCubemapEdges
protected

◆ m_showInfo

bool G3D::GuiTextureBox::m_showInfo
protected

Referenced by setShowInfo(), and showInfo().

◆ m_texel

Color4 G3D::GuiTextureBox::m_texel
mutableprotected

Readback texel.

◆ m_texture

shared_ptr<Texture> G3D::GuiTextureBox::m_texture
protected

Referenced by texture().

◆ m_videoOutput

shared_ptr<class VideoOutput> G3D::GuiTextureBox::m_videoOutput
protected

When recording a movie.

Referenced by movieRecording().

◆ m_visible

bool G3D::GuiControl::m_visible
protectedinherited

◆ m_zoom

float G3D::GuiTextureBox::m_zoom
protected

Referenced by viewZoom().


documentation generated on Wed Nov 24 2021 08:01:57 using doxygen 1.8.15