NAP
nap
system_modules
naprenderadvanced
src
cubemapfromfile.h
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
4
5
#pragma once
6
7
// Local Includes
8
#include "equirectangularcubemap.h"
9
10
// External Includes
11
#include <imagefromfile.h>
12
13
namespace
nap
14
{
32
class
NAPAPI
CubeMapFromFile
:
public
EquiRectangularCubeMap
33
{
34
RTTI_ENABLE(
EquiRectangularCubeMap
)
35
public
:
36
// Constructor
37
CubeMapFromFile
(
Core
& core);
38
44
virtual
bool
init(
utility::ErrorState
& errorState)
override
;
45
46
std::string
mImagePath
;
47
48
private
:
49
ImageFromFile
mEquiRectangularImage;
50
};
51
}
nap::CubeMapFromFile
Definition:
cubemapfromfile.h:32
nap::utility::ErrorState
Definition:
errorstate.h:19
nap::ImageFromFile
Definition:
imagefromfile.h:20
nap::EquiRectangularCubeMap
Definition:
equirectangularcubemap.h:34
nap::CubeMapFromFile::mImagePath
std::string mImagePath
Property: 'ImagePath' Path to the image on disk to load.
Definition:
cubemapfromfile.h:46
nap::Core
Definition:
core.h:82
nap
Definition:
templateapp.h:17
Generated by doxygen