Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
SGUIImage Struct Reference

A CGUISprite is actually a collage of several real sprites, this struct represents is such real sprite. More...

#include <CGUISprite.h>

Collaboration diagram for SGUIImage:

Public Member Functions

 NONCOPYABLE (SGUIImage)
 
 SGUIImage ()
 

Public Attributes

VfsPath m_TextureName
 
CGUISize m_Size
 
CGUISize m_TextureSize
 
CRect m_TexturePlacementInFile
 
float m_FixedHAspectRatio
 If non-zero, then the image's width will be adjusted when rendering so that the width:height ratio equals this value. More...
 
bool m_RoundCoordinates
 If true, the image's coordinates will be rounded to integer pixels when rendering, to avoid blurry filtering. More...
 
Renderer::Backend::Sampler::AddressMode m_AddressMode
 Texture address mode (REPEAT, CLAMP_TO_EDGE, etc). More...
 
std::shared_ptr< SGUIImageEffectsm_Effects
 
CGUIColor m_BackColor
 

Detailed Description

A CGUISprite is actually a collage of several real sprites, this struct represents is such real sprite.

Constructor & Destructor Documentation

◆ SGUIImage()

SGUIImage::SGUIImage ( )
inline

Member Function Documentation

◆ NONCOPYABLE()

SGUIImage::NONCOPYABLE ( SGUIImage  )

Member Data Documentation

◆ m_AddressMode

Renderer::Backend::Sampler::AddressMode SGUIImage::m_AddressMode

Texture address mode (REPEAT, CLAMP_TO_EDGE, etc).

◆ m_BackColor

CGUIColor SGUIImage::m_BackColor

◆ m_Effects

std::shared_ptr<SGUIImageEffects> SGUIImage::m_Effects

◆ m_FixedHAspectRatio

float SGUIImage::m_FixedHAspectRatio

If non-zero, then the image's width will be adjusted when rendering so that the width:height ratio equals this value.

◆ m_RoundCoordinates

bool SGUIImage::m_RoundCoordinates

If true, the image's coordinates will be rounded to integer pixels when rendering, to avoid blurry filtering.

◆ m_Size

CGUISize SGUIImage::m_Size

◆ m_TextureName

VfsPath SGUIImage::m_TextureName

◆ m_TexturePlacementInFile

CRect SGUIImage::m_TexturePlacementInFile

◆ m_TextureSize

CGUISize SGUIImage::m_TextureSize

The documentation for this struct was generated from the following file: