Public Types | Public Member Functions | List of all members
ion::Graphics::ITexture Class Referenceabstract

#include <ITexture.h>

Inheritance diagram for ion::Graphics::ITexture:
Inheritance graph
[legend]

Public Types

enum  EFilter { EFilter::Nearest = 0, EFilter::Linear = 1 }
 
enum  EWrapMode { EWrapMode::Clamp = 0, EWrapMode::Mirror = 1, EWrapMode::Repeat = 2 }
 
enum  EFormatComponents { EFormatComponents::R = 0, EFormatComponents::RG = 1, EFormatComponents::RGB = 2, EFormatComponents::RGBA = 3 }
 
enum  EInternalFormatType {
  EInternalFormatType::Fix8 = 0, EInternalFormatType::Float16 = 1, EInternalFormatType::Float32 = 2, EInternalFormatType::SignedInt8 = 3,
  EInternalFormatType::SignedInt16 = 4, EInternalFormatType::SignedInt32 = 5, EInternalFormatType::UnsignedInt8 = 6, EInternalFormatType::UnsignedInt16 = 7,
  EInternalFormatType::UnsignedInt32 = 8, EInternalFormatType::Depth = 9
}
 
enum  EMipMaps { EMipMaps::False = 0, EMipMaps::True = 1 }
 

Public Member Functions

virtual void SetMinFilter (EFilter const MinFilter)=0
 
virtual void SetMagFilter (EFilter const MagFilter)=0
 
virtual void SetMipMapFilter (EFilter const MipMapFilter)=0
 
virtual void SetWrapMode (EWrapMode const WrapMode)=0
 
virtual void SetAnisotropy (float const Anisotropy)=0
 
virtual EFilter GetMinFilter ()=0
 
virtual EFilter GetMagFilter ()=0
 
virtual EFilter GetMipMapFilter ()=0
 
virtual EWrapMode GetWrapMode ()=0
 
virtual float GetAnisotropy ()=0
 

Member Enumeration Documentation

Enumerator
Nearest 
Linear 
Enumerator
RG 
RGB 
RGBA 
Enumerator
Fix8 
Float16 
Float32 
SignedInt8 
SignedInt16 
SignedInt32 
UnsignedInt8 
UnsignedInt16 
UnsignedInt32 
Depth 
Enumerator
False 
True 
Enumerator
Clamp 
Mirror 
Repeat 

Member Function Documentation

virtual float ion::Graphics::ITexture::GetAnisotropy ( )
pure virtual

Implemented in ion::Graphics::GL::CTexture.

virtual EFilter ion::Graphics::ITexture::GetMagFilter ( )
pure virtual

Implemented in ion::Graphics::GL::CTexture.

virtual EFilter ion::Graphics::ITexture::GetMinFilter ( )
pure virtual

Implemented in ion::Graphics::GL::CTexture.

virtual EFilter ion::Graphics::ITexture::GetMipMapFilter ( )
pure virtual

Implemented in ion::Graphics::GL::CTexture.

virtual EWrapMode ion::Graphics::ITexture::GetWrapMode ( )
pure virtual

Implemented in ion::Graphics::GL::CTexture.

virtual void ion::Graphics::ITexture::SetAnisotropy ( float const  Anisotropy)
pure virtual

Sets the anisotropy filtering value for this texture A value < 0 indicates that the max anisotrophy value should be used Default is -1

Implemented in ion::Graphics::GL::CTexture.

virtual void ion::Graphics::ITexture::SetMagFilter ( EFilter const  MagFilter)
pure virtual

Sets the maximizing filter for this texture Default is EFilter::Linear

Implemented in ion::Graphics::GL::CTexture.

virtual void ion::Graphics::ITexture::SetMinFilter ( EFilter const  MinFilter)
pure virtual

Sets the minimizing filter for this texture Default is EFilter::Linear

Implemented in ion::Graphics::GL::CTexture.

virtual void ion::Graphics::ITexture::SetMipMapFilter ( EFilter const  MipMapFilter)
pure virtual

Sets the mip map filter for this texture Default is EFilter::Linear

Implemented in ion::Graphics::GL::CTexture.

virtual void ion::Graphics::ITexture::SetWrapMode ( EWrapMode const  WrapMode)
pure virtual

Sets the wrap mode for this texture Default is EWrapMode::Repeat

Implemented in ion::Graphics::GL::CTexture.


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