Paradox Game Engine
v1.0.0 beta06
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Pages
MaterialAssetKeys.cs
Go to the documentation of this file.
1
// Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2
// This file is distributed under GPL v3. See LICENSE.md for details.
3
namespace
SiliconStudio.
Paradox
.Effects
4
{
5
/// <summary>
6
/// Defines keys associated with mesh used for compiling assets.
7
/// </summary>
8
public
sealed
class
MaterialAssetKeys
9
{
10
/// <summary>
11
/// When compiling effect with an EffectLibraryAsset (pdxfxlib), set it to true to allow permutation based on the
12
/// parameters of all materials.
13
/// </summary>
14
/// <userdoc>
15
/// If checked, the material parameters will be used to generate effects.
16
/// </userdoc>
17
public
static
readonly
ParameterKey<bool>
UseParameters = ParameterKeys.New<
bool
>();
18
19
/// <summary>
20
/// Allow material compilation without mesh.
21
/// </summary>
22
/// <userdoc>
23
/// If checked, the materials will generate a shader even if they are not attached to a mesh.
24
/// </userdoc>
25
public
static
readonly
ParameterKey<bool>
GenerateShader = ParameterKeys.New<
bool
>();
26
}
27
}
SiliconStudio.Paradox.Effects.ParameterKey
Key of an effect parameter.
Definition:
ParameterKey.cs:15
SiliconStudio.Paradox.Effects.MaterialAssetKeys
Defines keys associated with mesh used for compiling assets.
Definition:
MaterialAssetKeys.cs:8
SiliconStudio.Paradox.Graphics.Paradox
Paradox image file.
sources
engine
SiliconStudio.Paradox.Engine
Effects
MaterialAssetKeys.cs
Generated on Sat Dec 20 2014 21:51:40 for Paradox Game Engine by
1.8.7