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

#include <CTexture.h>

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

Public Member Functions

void Upload (void const *const Data, vec3i const &Size, EFormatComponents const Components, EScalarType const Type)
 
void UploadSubRegion (void const *const Data, vec3i const &Offset, vec3i 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 ApplyParams ()
 

Public Attributes

vec3i 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::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::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 }
 
- Static Public Attributes inherited from ion::Graphics::GL::CTexture
static uint const InternalFormatMatrix [4][10]
 
static uint const FormatMatrix [4][2]
 
static string const InternalFormatStringMatrix [4][10]
 
static string const FormatStringMatrix [4]
 

Member Function Documentation

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

Member Data Documentation

vec3i ion::Graphics::GL::CTexture3D::TextureSize

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