public

Description

Public Attributes

   
   
uint32_t sizeX
   
uint32_t sizeY
   
uint32_t numLayers
width, height, depth (3d-texture)/num Layers(array texture)
   
uint32_t glTextureType
GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_.
   
uint32_t compressedImageSize
Size of the data in bytes.
   
int32_t glWrapS
   
int32_t glWrapT
   
int32_t glWrapR
e.g. GL_REPEAT
   
PixelFormatGL pixelFormat
   
bool linearMinFilter
   
bool linearMagFilter
   
uint32_t numSamples
true, true

Public Functions

   
   
  Format()
   
uint32_t getPixelSize() const
   
uint32_t getDataSize() const
   
uint32_t getRowSize() const
   
bool operator==(const Format & other) const
   
bool operator!=(const Format & other) const

Documentation

variable
Rendering::Texture::Format::sizeX

public
 
 
uint32_t sizeX

Defined in Rendering/Texture/Texture.h:70


variable
Rendering::Texture::Format::sizeY

public
 
 
uint32_t sizeY

Defined in Rendering/Texture/Texture.h:70


variable
Rendering::Texture::Format::numLayers

public
 
 
uint32_t numLayers

width, height, depth (3d-texture)/num Layers(array texture)

Defined in Rendering/Texture/Texture.h:70


variable
Rendering::Texture::Format::glTextureType

public
 
 
uint32_t glTextureType

GL_TEXTURE_2D, GL_TEXTURE_3D, GL_TEXTURE_.

Defined in Rendering/Texture/Texture.h:71


variable
Rendering::Texture::Format::compressedImageSize

public
 
 
uint32_t compressedImageSize

Size of the data in bytes.

See also: glCompressedTexImage2D

Defined in Rendering/Texture/Texture.h:73


variable
Rendering::Texture::Format::glWrapS

public
 
 
int32_t glWrapS

Defined in Rendering/Texture/Texture.h:74


variable
Rendering::Texture::Format::glWrapT

public
 
 
int32_t glWrapT

Defined in Rendering/Texture/Texture.h:74


variable
Rendering::Texture::Format::glWrapR

public
 
 
int32_t glWrapR

e.g. GL_REPEAT

Defined in Rendering/Texture/Texture.h:74


variable
Rendering::Texture::Format::pixelFormat

public
 
 
PixelFormatGL pixelFormat

Defined in Rendering/Texture/Texture.h:75


variable
Rendering::Texture::Format::linearMinFilter

public
 
 
bool linearMinFilter

Defined in Rendering/Texture/Texture.h:77


variable
Rendering::Texture::Format::linearMagFilter

public
 
 
bool linearMagFilter

Defined in Rendering/Texture/Texture.h:77


variable
Rendering::Texture::Format::numSamples

public
 
 
uint32_t numSamples

true, true

GL_TEXTURE_2D_MULTISAMPLE

Defined in Rendering/Texture/Texture.h:79


function
Rendering::Texture::Format::Format

public
   
   
Format( )

Defined in Rendering/Texture/Texture.h:69


function
Rendering::Texture::Format::getPixelSize

public const
   
   
uint32_t getPixelSize( ) const

Defined in Rendering/Texture/Texture.h:81


function
Rendering::Texture::Format::getDataSize

public const inline
   
   
uint32_t getDataSize( ) const

Defined in Rendering/Texture/Texture.h:82


function
Rendering::Texture::Format::getRowSize

public const inline
   
   
uint32_t getRowSize( ) const

Defined in Rendering/Texture/Texture.h:83


function
Rendering::Texture::Format::operator==

public const inline
     
     
bool operator==( const Format & other ) const

Defined in Rendering/Texture/Texture.h:85


function
Rendering::Texture::Format::operator!=

public const inline
     
     
bool operator!=( const Format & other ) const

Defined in Rendering/Texture/Texture.h:96