Hymn to Beauty
C++ 3D Engine
GUI::TextureEditor Class Reference

Used to edit a texture. More...

#include <TextureEditor.hpp>

Public Member Functions

 TextureEditor ()
 Constructor. More...
 
void Show ()
 Show the editor. More...
 
const TextureAssetGetTexture () const
 Get the texture being edited. More...
 
void SetTexture (TextureAsset *texture)
 Set the texture to edit. More...
 
bool IsVisible () const
 Get whether the window is visible. More...
 
void SetVisible (bool visible)
 Set whether the window should be visible. More...
 

Detailed Description

Used to edit a texture.

Constructor & Destructor Documentation

◆ TextureEditor()

TextureEditor::TextureEditor ( )

Constructor.

Member Function Documentation

◆ GetTexture()

const TextureAsset * TextureEditor::GetTexture ( ) const

Get the texture being edited.

Returns
The texture being edited.

◆ IsVisible()

bool TextureEditor::IsVisible ( ) const

Get whether the window is visible.

Returns
Whether the window is visible.

◆ SetTexture()

void TextureEditor::SetTexture ( TextureAsset texture)

Set the texture to edit.

Parameters
textureTexture to edit.

◆ SetVisible()

void TextureEditor::SetVisible ( bool  visible)

Set whether the window should be visible.

Parameters
visibleWhether the window should be visible.

◆ Show()

void TextureEditor::Show ( )

Show the editor.


The documentation for this class was generated from the following files: