"L. Spiro Engine"
|
The base class for textures. More...
#include <LSGTextureBase.h>
Public Member Functions | |
LSE_INLINE LSG_TEXTURE_USAGE_FORMAT LSE_CALL | GetUsageFormat () const |
LSE_INLINE LSUINT32 LSE_CALL | GetUsageType () const |
virtual LSVOID LSE_CALL | Reset () |
virtual LSBOOL LSE_CALL | Activate (LSUINT32 _ui32Slot) |
LSE_INLINE LSBOOL LSE_CALL | Finalized () const |
Static Public Attributes | |
static const LSG_TEX_PARMS | m_tpStandardPreset |
static const LSG_TEX_PARMS | m_tpStandardHighQualityPreset |
static const LSG_TEX_PARMS | m_tpSpritePreset |
static const LSG_TEX_PARMS | m_tpSpriteSoftPreset |
static CMatrix4x4 | m_mTextureMatrix [LSG_MAX_TEXTURE_UNITS] |
Protected Attributes | |
LSUINT32 | m_ui32PhysicalWidth |
LSUINT32 | m_ui32PhysicalHeight |
LSG_TEXTURE_USAGE_FORMAT | m_tufUsageFormat |
LSG_WRAP_MODE | m_wmWrap |
LSUINT32 | m_ui32Usage |
LSBOOL | m_bMipMaps |
LSUINT32 | m_ui32Lock |
LSBOOL | m_bFinalized |
Static Protected Attributes | |
static LSUINT32 | m_ui32LastTextures [LSG_TM_MAX_SLOTS] |
static LSUINT32 | m_ui32LastCubeTextures [LSG_TM_MAX_SLOTS] |
Friends | |
class | COpenGlRenderTarget |
The base class for textures.
Class CTextureBase Description: The base class for textures.
virtual LSBOOL LSE_CALL lsg::CTextureBase::Activate | ( | LSUINT32 | _ui32Slot | ) | [virtual] |
Activate this texture in a given slot.
_ui32Slot | Slot in which to place this texture. |
Reimplemented in lsg::CDirectX11FloatTexture, and lsg::CDirectX11StandardTexture.
LSE_INLINE LSBOOL LSE_CALL lsg::CTextureBase::Finalized | ( | ) | const |
Has this texture been finalized?
LSE_INLINE LSG_TEXTURE_USAGE_FORMAT LSE_CALL lsg::CTextureBase::GetUsageFormat | ( | ) | const |
Get the usage format.
LSE_INLINE LSUINT32 LSE_CALL lsg::CTextureBase::GetUsageType | ( | ) | const |
Get the usage type.
virtual LSVOID LSE_CALL lsg::CTextureBase::Reset | ( | ) | [virtual] |
Reset everything.
Reimplemented in lsg::CStandardTexture.
LSBOOL lsg::CTextureBase::m_bFinalized [protected] |
Have we finalized yet?
LSBOOL lsg::CTextureBase::m_bMipMaps [protected] |
Should we generate mipmaps?
CMatrix4x4 lsg::CTextureBase::m_mTextureMatrix[LSG_MAX_TEXTURE_UNITS] [static] |
The array of texture matrices.
const LSG_TEX_PARMS lsg::CTextureBase::m_tpSpritePreset [static] |
A texture-creation preset for sprites. Includes nearest sampling, set-only, and clamp modes.
const LSG_TEX_PARMS lsg::CTextureBase::m_tpSpriteSoftPreset [static] |
A texture-creation preset for sprites. Includes linear sampling, set-only, and clamp modes.
const LSG_TEX_PARMS lsg::CTextureBase::m_tpStandardHighQualityPreset [static] |
A texture-creation preset for standard cases. Includes anisotropic sampling, mipmapping, set-only, and repeat modes.
const LSG_TEX_PARMS lsg::CTextureBase::m_tpStandardPreset [static] |
A texture-creation preset for standard cases. Includes linear sampling, mipmapping, set-only, and repeat modes.
The usage type.
LSUINT32 lsg::CTextureBase::m_ui32LastCubeTextures[LSG_TM_MAX_SLOTS] [static, protected] |
Last cube textures applied to slots.
LSUINT32 lsg::CTextureBase::m_ui32LastTextures[LSG_TM_MAX_SLOTS] [static, protected] |
Last textures applied to slots.
LSUINT32 lsg::CTextureBase::m_ui32Lock [protected] |
Lock count.
LSUINT32 lsg::CTextureBase::m_ui32PhysicalHeight [protected] |
Physical texture height, which will be different from its normal height if rescaling is required.
LSUINT32 lsg::CTextureBase::m_ui32PhysicalWidth [protected] |
Physical texture width, which will be different from its normal width if rescaling is required.
LSUINT32 lsg::CTextureBase::m_ui32Usage [protected] |
Usage type.
LSG_WRAP_MODE lsg::CTextureBase::m_wmWrap [protected] |
Wrapping mode.