Public Member Functions | Public Attributes | List of all members
ion::Graphics::GL::CTextureCubeMap Class Reference

#include <CTexture.h>

Inheritance diagram for ion::Graphics::GL::CTextureCubeMap:
Inheritance graph
[legend]
Collaboration diagram for ion::Graphics::GL::CTextureCubeMap:
Collaboration graph
[legend]

Public Member Functions

void Upload (EFace const Face, void const *const Data, vec2i const &Size, EFormatComponents const Components, EScalarType const Type)
 
void UploadSubRegion (EFace const Face, void const *const Data, vec2i const &Offset, vec2i const &Size, EFormatComponents const Components, EScalarType const Type)
 
uint GetGLBindTextureTarget () const
 
uint GetGLTextureBindingEnum () const
 
- Public Member Functions inherited from ion::Graphics::GL::CTexture
void SetMinFilter (EFilter const MinFilter)
 
void SetMagFilter (EFilter const MagFilter)
 
void SetMipMapFilter (EFilter const MipMapFilter)
 
void SetWrapMode (EWrapMode const WrapMode)
 
void SetBorderColor (color4f const &BorderColor)
 
void SetAnisotropy (float const Anisotropy)
 
EFilter GetMinFilter ()
 
EFilter GetMagFilter ()
 
EFilter GetMipMapFilter ()
 
EWrapMode GetWrapMode ()
 
float GetAnisotropy ()
 
void GenerateMipMaps ()
 
void ApplyParams ()
 

Public Attributes

vec2i TextureSize
 
- Public Attributes inherited from ion::Graphics::GL::CTexture
uint Handle = 0
 
EFilter MinFilter = EFilter::Linear
 
EFilter MagFilter = EFilter::Linear
 
EFilter MipMapFilter = EFilter::Linear
 
EWrapMode WrapMode = EWrapMode::Repeat
 
color4f BorderColor
 
float Anisotropy = -1
 
bool MipMaps = true
 
bool IsInteger = false
 

Additional Inherited Members

- Public Types inherited from ion::Graphics::ITextureCubeMap
enum  EFace {
  EFace::PositiveX = 0, EFace::NegativeX = 1, EFace::PositiveY = 2, EFace::NegativeY = 3,
  EFace::PositiveZ = 4, EFace::NegativeZ = 5
}
 
- Public Types inherited from ion::Graphics::ITexture
enum  EFilter { EFilter::Nearest = 0, EFilter::Linear = 1 }
 
enum  EWrapMode { EWrapMode::Clamp = 0, EWrapMode::Mirror = 1, EWrapMode::Repeat = 2, EWrapMode::Border = 3 }
 
enum  EFormatComponents { EFormatComponents::R = 0, EFormatComponents::RG = 1, EFormatComponents::RGB = 2, EFormatComponents::RGBA = 3 }
 
enum  EInternalFormatType {
  EInternalFormatType::Fix8 = 0, EInternalFormatType::Fix16 = 1, EInternalFormatType::Float16 = 2, EInternalFormatType::Float32 = 3,
  EInternalFormatType::SignedInt8 = 4, EInternalFormatType::SignedInt16 = 5, EInternalFormatType::SignedInt32 = 6, EInternalFormatType::UnsignedInt8 = 7,
  EInternalFormatType::UnsignedInt16 = 8, EInternalFormatType::UnsignedInt32 = 9, EInternalFormatType::Depth = 10
}
 
enum  EMipMaps { EMipMaps::False = 0, EMipMaps::True = 1 }
 
- Static Public Attributes inherited from ion::Graphics::GL::CTexture
static uint const InternalFormatMatrix [4][11]
 
static uint const FormatMatrix [4][2]
 
static string const InternalFormatStringMatrix [4][10]
 
static string const FormatStringMatrix [4]
 

Member Function Documentation

uint ion::Graphics::GL::CTextureCubeMap::GetGLBindTextureTarget ( ) const
virtual
uint ion::Graphics::GL::CTextureCubeMap::GetGLTextureBindingEnum ( ) const
virtual
void ion::Graphics::GL::CTextureCubeMap::Upload ( EFace const  Face,
void const *const  Data,
vec2i const &  Size,
EFormatComponents const  Components,
EScalarType const  Type 
)
virtual
void ion::Graphics::GL::CTextureCubeMap::UploadSubRegion ( EFace const  Face,
void const *const  Data,
vec2i const &  Offset,
vec2i const &  Size,
EFormatComponents const  Components,
EScalarType const  Type 
)
virtual

Member Data Documentation

vec2i ion::Graphics::GL::CTextureCubeMap::TextureSize

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