NAP
nap
system_modules
naprenderadvanced
src
testcubemap.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
6
#pragma once
7
8
// Local includes
9
#include "equirectangularcubemap.h"
10
11
namespace
nap
12
{
16
class
NAPAPI
TestCubeMap
:
public
EquiRectangularCubeMap
17
{
18
RTTI_ENABLE(
EquiRectangularCubeMap
)
19
public
:
20
// Constructor
21
TestCubeMap
(
Core
& core);
22
28
virtual
bool
init(
utility::ErrorState
& errorState)
override
;
29
30
private
:
31
Texture2D
mEquiRectangularTexture;
32
};
33
34
38
class
NAPAPI
SunsetCubeMap
:
public
EquiRectangularCubeMap
39
{
40
RTTI_ENABLE(
EquiRectangularCubeMap
)
41
public
:
42
// Constructor
43
SunsetCubeMap
(
Core
& core);
44
50
virtual
bool
init(
utility::ErrorState
& errorState)
override
;
51
52
private
:
53
Texture2D
mEquiRectangularTexture;
54
};
55
}
56
nap::utility::ErrorState
Definition:
errorstate.h:19
nap::EquiRectangularCubeMap
Definition:
equirectangularcubemap.h:34
nap::Texture2D
Definition:
texture.h:117
nap::Core
Definition:
core.h:82
nap::TestCubeMap
Definition:
testcubemap.h:16
nap
Definition:
templateapp.h:17
nap::SunsetCubeMap
Definition:
testcubemap.h:38
Generated by doxygen