This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
ofCubeMap.h
Go to the documentation of this file.
80 bool load( const of::filesystem::path & apath, int aFaceResolution, bool aBFlipY, int aIrradianceRes, int aPreFilterRes );
128 void _equiRectToCubeMap( GLuint& aCubeTexId, ofTexture& aSrcTex, int aSrcRes, bool aBConvertToNonFloat );
130 void _createIrradianceMap(GLuint aSrcCubeFid, bool aBMakeCache, const of::filesystem::path & aCachePath);
133 void _createPrefilteredCubeMap(GLuint aSrcCubeFid, int aSrcRes, bool aBMakeCache, const of::filesystem::path & aCachePath);
141 void _initEmptyTextures(GLuint aCubeMapId, GLuint aInternalFormat, int aSize, int aNumMipMaps );
Definition ofCubeMap.h:38
Definition ofCubeMap.h:16
bool load(const of::filesystem::path &apath, int aFaceResolution, bool aBFlipY=true)
Definition ofCubeMap.cpp:276
void _createIrradianceMap(GLuint aSrcCubeFid, bool aBMakeCache, const of::filesystem::path &aCachePath)
Definition ofCubeMap.cpp:743
std::vector< glm::mat4 > _getViewMatrices(const glm::vec3 &apos)
Definition ofCubeMap.cpp:1246
static void regenerateAllTextures()
void _equiRectToCubeMap(GLuint &aCubeTexId, ofTexture &aSrcTex, int aSrcRes, bool aBConvertToNonFloat)
Definition ofCubeMap.cpp:704
static std::shared_ptr< ofCubeMap::Data > getActiveData()
Definition ofCubeMap.cpp:116
ofCubeMap & operator=(const ofCubeMap &mom)
Copy a given ofCubeMap into this cube map.
Definition ofCubeMap.cpp:223
void drawPrefilteredCube(float aRoughness)
Definition ofCubeMap.cpp:485
void _configureCubeTextures(GLuint aCubeMapId, bool abLinearMipLinear)
Definition ofCubeMap.cpp:622
bool _loadPrefilterMap(const of::filesystem::path &aCachePath)
Definition ofCubeMap.cpp:1101
GLuint getGlTypeFromInternalFormat()
Definition ofCubeMap.cpp:1290
void _initEmptyTextures(GLuint aCubeMapId, int aSize)
Definition ofCubeMap.cpp:642
bool _loadEquiRectToCubeMapShader()
Definition ofCubeMap.cpp:1339
bool _loadIrradianceMap(const of::filesystem::path &aCachePath)
Definition ofCubeMap.cpp:884
GLuint _createFloatCubeMap(ofTexture &aSrcTex, int aSrcRes)
Definition ofCubeMap.cpp:678
static const ofTexture & getBrdfLutTexture()
Definition ofCubeMap.cpp:168
void _createPrefilteredCubeMap(GLuint aSrcCubeFid, int aSrcRes, bool aBMakeCache, const of::filesystem::path &aCachePath)
Definition ofCubeMap.cpp:943
static void clearTextureData(std::shared_ptr< ofCubeMap::Data > adata)
Definition ofCubeMap.cpp:127
Definition ofGLProgrammableRenderer.h:17
Definition ofShader.h:35
Definition ofVboMesh.h:6
std::vector< std::weak_ptr< ofCubeMap::Data > > & ofCubeMapsData()
Definition ofCubeMap.cpp:98
Definition ofCubeMap.h:19
of::filesystem::path cacheDirectory
Definition ofCubeMap.h:21