HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
HUSD_LightingMode.h
Go to the documentation of this file.
1
/*
2
* Copyright 2019 Side Effects Software Inc.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*
16
*/
17
18
#ifndef __HUSD_LightingModes_h__
19
#define __HUSD_LightingModes_h__
20
21
#include "
HUSD_API.h
"
22
#include <
UT/UT_StringHolder.h
>
23
24
// Available viewport lighting modes.
25
enum
HUSD_LightingMode
{
26
HUSD_LIGHTING_MODE_NO_LIGHTING
= 0,
27
HUSD_LIGHTING_MODE_HEADLIGHT_ONLY
= 1,
28
HUSD_LIGHTING_MODE_DOMELIGHT_ONLY
= 2,
29
HUSD_LIGHTING_MODE_NORMAL
= 3,
30
HUSD_LIGHTING_MODE_HQ
= 4,
31
HUSD_LIGHTING_MODE_HQ_SHADOWS
= 5,
32
HUSD_LIGHTING_MODE_COUNT
= 6
33
};
34
35
HUSD_API
extern
bool
36
HUSDisHqLightingMode
(
int
mode
);
37
38
HUSD_API
extern
HUSD_LightingMode
39
HUSDlightingModeFromString
(
const
UT_StringRef
&str);
40
41
HUSD_API
extern
const
UT_StringHolder
&
42
HUSDlightingModeToString
(
HUSD_LightingMode
mode
);
43
44
#endif
HUSDlightingModeToString
HUSD_API const UT_StringHolder & HUSDlightingModeToString(HUSD_LightingMode mode)
HUSD_API
#define HUSD_API
Definition:
HUSD_API.h:32
HUSD_LIGHTING_MODE_HQ_SHADOWS
Definition:
HUSD_LightingMode.h:31
UT_StringRef
Definition:
UT_StringHolder.h:188
HUSDisHqLightingMode
HUSD_API bool HUSDisHqLightingMode(int mode)
UT_StringHolder
Definition:
UT_StringHolder.h:999
HUSD_LIGHTING_MODE_DOMELIGHT_ONLY
Definition:
HUSD_LightingMode.h:28
HUSD_LIGHTING_MODE_NO_LIGHTING
Definition:
HUSD_LightingMode.h:26
HUSD_LIGHTING_MODE_HEADLIGHT_ONLY
Definition:
HUSD_LightingMode.h:27
HUSD_API.h
HUSD_LIGHTING_MODE_COUNT
Definition:
HUSD_LightingMode.h:32
HUSD_LightingMode
HUSD_LightingMode
Definition:
HUSD_LightingMode.h:25
HUSD_LIGHTING_MODE_HQ
Definition:
HUSD_LightingMode.h:30
mode
GLenum mode
Definition:
glcorearb.h:99
HUSDlightingModeFromString
HUSD_API HUSD_LightingMode HUSDlightingModeFromString(const UT_StringRef &str)
UT_StringHolder.h
HUSD_LIGHTING_MODE_NORMAL
Definition:
HUSD_LightingMode.h:29
HUSD
HUSD_LightingMode.h
Generated on Tue Dec 17 2024 03:39:51 for HDK by
1.8.6