VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvIndirectRendering
DtMaterial.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2017 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvIndirectRendering/vrvIndirectRendering.h
>
13
#include <
vrvGraphicsUtils/DtVector3.h
>
14
#include <
vrvGraphicsUtils/DtVector4.h
>
15
16
#include <ostream>
17
18
namespace
makVrv
19
{
28
class
DT_DLL_VRVINDIRECTRENDERING
DtMaterial
29
{
30
public
:
32
DtMaterial
();
33
35
~
DtMaterial
();
36
37
public
:
39
Vector4_32
myAmbient
;
40
42
Vector4_32
myDiffuse
;
43
45
Vector4_32
myEmissivity
;
46
48
Vector4_32
mySpecular
;
49
51
Vector4_32
myShininessAndOtherData
;
52
56
//("AO" ); 0 (myHasEffectMap0.x)
57
//("SPR"); 1 (myHasEffectMap0.y)
58
//("REF"); 2 (myHasEffectMap0.z)
59
//("GLS"); 3 (myHasEffectMap0.w)
60
61
//("EMS"); 4 (myHasEffectMap1.x)
62
//("MTL"); 5 (myHasEffectMap1.y)
63
Vector4_int
myHasEffectMap0
;
64
Vector4_int
myHasEffectMap1
;
65
};
66
68
typedef
std::vector<DtMaterial>
VectorMaterials
;
69
70
DT_DLL_VRVINDIRECTRENDERING
std::ostream&
operator <<
(std::ostream& o,
const
DtMaterial
& material);
71
}
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)