"L. Spiro Engine"
Public Member Functions | Protected Attributes

lsd::CModelTexture Class Reference

Holds texture information read from 3D model files. More...

#include <LSDModelTexture.h>

List of all members.

Public Member Functions

CModelTexture &LSE_CALL operator= (const CModelTexture &_mtOther)
LSVOID LSE_CALL Trash ()
LSVOID LSE_CALL SetAllocator (CAllocator *_paAllocator)
LSE_INLINE CString &LSE_CALL Name ()
LSE_INLINE const CString &LSE_CALL Name () const
LSE_INLINE CString &LSE_CALL FileName ()
LSE_INLINE const CString &LSE_CALL FileName () const
LSE_INLINE LSG_WRAP_MODE &LSE_CALL WrappingMode ()
LSE_INLINE LSG_WRAP_MODE LSE_CALL WrappingMode () const
LSE_INLINE LSG_MAPPING_TYPE
&LSE_CALL 
MappingType ()
LSE_INLINE LSG_MAPPING_TYPE
LSE_CALL 
MappingType () const
LSE_INLINE
LSG_TEXTURE_USAGE_FORMAT
&LSE_CALL 
UsageFormat ()
LSE_INLINE
LSG_TEXTURE_USAGE_FORMAT
LSE_CALL 
UsageFormat () const
LSE_INLINE
LSG_TEXTURE_BLENDING_MODES
&LSE_CALL 
BlendingMode ()
LSE_INLINE
LSG_TEXTURE_BLENDING_MODES
LSE_CALL 
BlendingMode () const
LSE_INLINE CSharedStdTexPtr
&LSE_CALL 
Texture ()
CSharedStdTexPtr LSE_CALL Texture () const

Protected Attributes

CString m_sName
CString m_sFileName
LSG_WRAP_MODE m_wmWrapMode
LSG_MAPPING_TYPE m_mtMappingType
LSG_TEXTURE_USAGE_FORMAT m_tufUsageFormat
LSG_TEXTURE_BLENDING_MODES m_tbmBlendingMode
CSharedStdTexPtr m_sstpTexture

Detailed Description

Holds texture information read from 3D model files.

Class CModelTexture Description: Holds texture information read from 3D model files.


Member Function Documentation

LSE_INLINE LSG_TEXTURE_BLENDING_MODES &LSE_CALL lsd::CModelTexture::BlendingMode ( )

Get the texture blending mode for read and write.

Returns:
Returns the texture blending mode for read and write.
LSE_INLINE LSG_TEXTURE_BLENDING_MODES LSE_CALL lsd::CModelTexture::BlendingMode ( ) const

Get the texture blending mode for read only.

Returns:
Returns the texture blending mode for read only.
LSE_INLINE CString &LSE_CALL lsd::CModelTexture::FileName ( )

Get the texture file name for read and write.

Returns:
Returns the texture file name for read and write.
LSE_INLINE const CString &LSE_CALL lsd::CModelTexture::FileName ( ) const

Get the texture file name for read only.

Returns:
Returns the texture file name for read only.
LSE_INLINE LSG_MAPPING_TYPE &LSE_CALL lsd::CModelTexture::MappingType ( )

Get the texture mapping type for read and write.

Returns:
Returns the texture mapping type for read and write.
LSE_INLINE LSG_MAPPING_TYPE LSE_CALL lsd::CModelTexture::MappingType ( ) const

Get the texture mapping type for read only.

Returns:
Returns the texture mapping type for read only.
LSE_INLINE const CString &LSE_CALL lsd::CModelTexture::Name ( ) const

Get the texture name for read only.

Returns:
Returns the texture name for read only.
LSE_INLINE CString &LSE_CALL lsd::CModelTexture::Name ( )

Get the texture name for read and write.

Returns:
Returns the texture name for read and write.
CModelTexture& LSE_CALL lsd::CModelTexture::operator= ( const CModelTexture _mtOther)

Assignment operator.

Parameters:
_mtOtherObject to copy.
Returns:
Returns the copied object.
LSVOID LSE_CALL lsd::CModelTexture::SetAllocator ( CAllocator *  _paAllocator)

Set the allocator used with this object.

Parameters:
_paAllocatorThe allocator to use.
LSE_INLINE CSharedStdTexPtr &LSE_CALL lsd::CModelTexture::Texture ( )

Get the texture for read and write.

Returns:
Returns the texture for read and write.
CSharedStdTexPtr LSE_CALL lsd::CModelTexture::Texture ( ) const

Get the texture for read only.

Returns:
Returns the texture for read only.
LSVOID LSE_CALL lsd::CModelTexture::Trash ( )

Trash everything.

LSE_INLINE LSG_TEXTURE_USAGE_FORMAT &LSE_CALL lsd::CModelTexture::UsageFormat ( )

Get the texture usage format for read and write.

Returns:
Returns the texture usage format for read and write.
LSE_INLINE LSG_TEXTURE_USAGE_FORMAT LSE_CALL lsd::CModelTexture::UsageFormat ( ) const

Get the texture usage format for read only.

Returns:
Returns the texture usage format for read only.
LSE_INLINE LSG_WRAP_MODE &LSE_CALL lsd::CModelTexture::WrappingMode ( )

Get the texture wrapping mode for read and write.

Returns:
Returns the texture wrapping mode for read and write.
LSE_INLINE LSG_WRAP_MODE LSE_CALL lsd::CModelTexture::WrappingMode ( ) const

Get the texture wrapping mode for read only.

Returns:
Returns the texture wrapping mode for read only.

Member Data Documentation

LSG_MAPPING_TYPE lsd::CModelTexture::m_mtMappingType [protected]

Mapping type.

CString lsd::CModelTexture::m_sFileName [protected]

File name.

CString lsd::CModelTexture::m_sName [protected]

Texture name.

CSharedStdTexPtr lsd::CModelTexture::m_sstpTexture [protected]

Actual texture.

LSG_TEXTURE_BLENDING_MODES lsd::CModelTexture::m_tbmBlendingMode [protected]

Texture blending mode.

LSG_TEXTURE_USAGE_FORMAT lsd::CModelTexture::m_tufUsageFormat [protected]

Texture usage format.

LSG_WRAP_MODE lsd::CModelTexture::m_wmWrapMode [protected]

Wrapping mode.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator