VR-Vantage 2.4 API Documentation
Home
Modules
Namespaces
Classes
Files
Libraries
Examples
Tutorials
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvIndirectRendering
DtMaterial.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2018 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvIndirectRendering/vrvIndirectRendering.h
>
13
14
#include <
vrvGraphicsUtils/DtVector3.h
>
15
#include <
vrvGraphicsUtils/DtVector4.h
>
16
17
#include <string>
18
19
#include <ostream>
20
21
namespace
makVrv
22
{
32
class
DT_DLL_VRVINDIRECTRENDERING
DtMaterial
33
{
34
public
:
36
DtMaterial
();
37
39
~
DtMaterial
();
40
41
public
:
43
Vector4_32
myAmbient
;
44
46
Vector4_32
myDiffuse
;
47
49
Vector4_32
myEmissivity
;
50
52
Vector4_32
mySpecular
;
53
55
Vector4_32
myShininessAndOtherData
;
56
60
//("AO" ); 0 (myHasEffectMap0.x)
61
//("SPR"); 1 (myHasEffectMap0.y)
62
//("REF"); 2 (myHasEffectMap0.z)
63
//("GLS"); 3 (myHasEffectMap0.w)
64
65
//("EMS"); 4 (myHasEffectMap1.x)
66
//("MTL"); 5 (myHasEffectMap1.y)
67
Vector4_int
myHasEffectMap0
;
68
Vector4_int
myHasEffectMap1
;
69
};
70
73
class
DT_DLL_VRVINDIRECTRENDERING
DtMaterialUtils
74
{
75
public
:
77
static
void
copyTo(
DtMaterial
& material,
const
std::vector<std::string>& suffixes);
78
};
79
81
typedef
std::vector<DtMaterial>
VectorMaterials
;
82
83
DT_DLL_VRVINDIRECTRENDERING
std::ostream&
operator <<
(std::ostream& o,
const
DtMaterial
& material);
84
}
Copyright © 2005-2018 VT MAK. All Rights Reserved (
www.mak.com
)