Overte C++ Documentation
entities-renderer/src/entities-renderer/ShaderConstants.h
1
// <!
2
// Created by Bradley Austin Davis on 2018/05/25
3
// Copyright 2013-2018 High Fidelity, Inc.
4
//
5
// Distributed under the Apache License, Version 2.0.
6
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
7
// !>
8
9
// <@if not ENTITIES_SHADER_CONSTANTS_H@>
10
// <@def ENTITIES_SHADER_CONSTANTS_H@>
11
12
// Hack comment to absorb the extra '//' scribe prepends
13
14
#ifndef ENTITIES_SHADER_CONSTANTS_H
15
#define ENTITIES_SHADER_CONSTANTS_H
16
17
// Polyvox
18
#define ENTITIES_TEXTURE_POLYVOX_XMAP 0
19
#define ENTITIES_TEXTURE_POLYVOX_YMAP 1
20
#define ENTITIES_TEXTURE_POLYVOX_ZMAP 2
21
22
23
24
// <!
25
26
namespace
entities_renderer {
namespace
slot {
27
28
namespace
texture {
29
enum
Texture
{
30
PolyvoxXMap = ENTITIES_TEXTURE_POLYVOX_XMAP,
31
PolyvoxYMap = ENTITIES_TEXTURE_POLYVOX_YMAP,
32
PolyvoxZMap = ENTITIES_TEXTURE_POLYVOX_ZMAP,
33
};
34
}
// namespace texture
35
36
} }
// namespace entities::slot
37
38
// !>
39
// Hack Comment
40
41
#endif
// ENTITIES_SHADER_CONSTANTS_H
42
43
// <@if 1@>
44
// Trigger Scribe include
45
// <@endif@> <!def that !>
46
47
// <@endif@>
48
49
// Hack Comment
Texture
A simple object wrapper for an OpenGL texture.
Definition:
material-networking/src/material-networking/TextureCache.h:39
libraries
entities-renderer
src
entities-renderer
ShaderConstants.h
Generated by
1.9.1