SLProject 4.0.000
SLGLTexture.h File Reference
#include <SLObject.h>
#include <CVImage.h>
#include <SLGLVertexArray.h>
#include <SLMat4.h>
#include <atomic>
#include <mutex>
Include dependency graph for SLGLTexture.h:
This graph shows which files directly or indirectly include this file:

Classes

class  SLGLTexture
 Texture object for OpenGL texturing. More...
 

Macros

#define SL_ANISOTROPY_MAX   (GL_LINEAR_MIPMAP_LINEAR + 1)
 
#define SL_ANISOTROPY_2   (GL_LINEAR_MIPMAP_LINEAR + 2)
 
#define SL_ANISOTROPY_4   (GL_LINEAR_MIPMAP_LINEAR + 4)
 
#define SL_ANISOTROPY_8   (GL_LINEAR_MIPMAP_LINEAR + 8)
 
#define SL_ANISOTROPY_16   (GL_LINEAR_MIPMAP_LINEAR + 16)
 
#define SL_ANISOTROPY_32   (GL_LINEAR_MIPMAP_LINEAR + 32)
 
#define GL_TEXTURE_MAX_ANISOTROPY_EXT   0x84FE
 
#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT   0x84FF
 
#define SL_HDR_GL_INTERNAL_FORMAT   GL_RGB16F
 
#define SL_HDR_GL_FORMAT   GL_RGB
 
#define SL_HDR_GL_TYPE   GL_FLOAT
 
#define SL_HDR_PIXEL_BYTES   3
 
#define SL_BRDF_LUT_GL_INTERNAL_FORMAT   GL_RG16F
 
#define SL_BRDF_LUT_GL_FORMAT   GL_RG
 
#define SL_BRDF_LUT_GL_TYPE   GL_FLOAT
 
#define SL_BRDF_LUT_PIXEL_BYTES   4
 
#define SL_READ_PIXELS_GL_FORMAT   GL_RGB
 
#define SL_READ_PIXELS_CV_FORMAT   PF_rgb
 

Typedefs

typedef vector< SLGLTexture * > SLVGLTexture
 STL vector of SLGLTexture pointers. More...
 

Enumerations

enum  SLTextureType {
  TT_unknown , TT_diffuse , TT_normal , TT_height , TT_specular , TT_emissive ,
  TT_occlusion , TT_roughness , TT_metallic , TT_roughMetal , TT_occluRoughMetal , TT_font ,
  TT_hdr , TT_environmentCubemap , TT_irradianceCubemap , TT_roughnessCubemap , TT_brdfLUT , TT_videoBkgd ,
  TT_numTextureType
}
 Texture type enumeration & their filename appendix for auto type detection. More...
 

Macro Definition Documentation

◆ GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT

#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT   0x84FF

◆ GL_TEXTURE_MAX_ANISOTROPY_EXT

#define GL_TEXTURE_MAX_ANISOTROPY_EXT   0x84FE

◆ SL_ANISOTROPY_16

#define SL_ANISOTROPY_16   (GL_LINEAR_MIPMAP_LINEAR + 16)

◆ SL_ANISOTROPY_2

#define SL_ANISOTROPY_2   (GL_LINEAR_MIPMAP_LINEAR + 2)

◆ SL_ANISOTROPY_32

#define SL_ANISOTROPY_32   (GL_LINEAR_MIPMAP_LINEAR + 32)

◆ SL_ANISOTROPY_4

#define SL_ANISOTROPY_4   (GL_LINEAR_MIPMAP_LINEAR + 4)

◆ SL_ANISOTROPY_8

#define SL_ANISOTROPY_8   (GL_LINEAR_MIPMAP_LINEAR + 8)

◆ SL_ANISOTROPY_MAX

#define SL_ANISOTROPY_MAX   (GL_LINEAR_MIPMAP_LINEAR + 1)

◆ SL_BRDF_LUT_GL_FORMAT

#define SL_BRDF_LUT_GL_FORMAT   GL_RG

◆ SL_BRDF_LUT_GL_INTERNAL_FORMAT

#define SL_BRDF_LUT_GL_INTERNAL_FORMAT   GL_RG16F

◆ SL_BRDF_LUT_GL_TYPE

#define SL_BRDF_LUT_GL_TYPE   GL_FLOAT

◆ SL_BRDF_LUT_PIXEL_BYTES

#define SL_BRDF_LUT_PIXEL_BYTES   4

◆ SL_HDR_GL_FORMAT

#define SL_HDR_GL_FORMAT   GL_RGB

◆ SL_HDR_GL_INTERNAL_FORMAT

#define SL_HDR_GL_INTERNAL_FORMAT   GL_RGB16F

◆ SL_HDR_GL_TYPE

#define SL_HDR_GL_TYPE   GL_FLOAT

◆ SL_HDR_PIXEL_BYTES

#define SL_HDR_PIXEL_BYTES   3

◆ SL_READ_PIXELS_CV_FORMAT

#define SL_READ_PIXELS_CV_FORMAT   PF_rgb

◆ SL_READ_PIXELS_GL_FORMAT

#define SL_READ_PIXELS_GL_FORMAT   GL_RGB

Typedef Documentation

◆ SLVGLTexture

typedef vector<SLGLTexture*> SLVGLTexture

STL vector of SLGLTexture pointers.

Enumeration Type Documentation

◆ SLTextureType

Texture type enumeration & their filename appendix for auto type detection.

Enumerator
TT_unknown 
TT_diffuse 
TT_normal 
TT_height 
TT_specular 
TT_emissive 
TT_occlusion 
TT_roughness 
TT_metallic 
TT_roughMetal 
TT_occluRoughMetal 
TT_font 
TT_hdr 
TT_environmentCubemap 
TT_irradianceCubemap 
TT_roughnessCubemap 
TT_brdfLUT 
TT_videoBkgd 
TT_numTextureType