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
AssetCompilerContextExtensions.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
using
SiliconStudio.Assets.Compiler;
4
using
SiliconStudio.Paradox.Graphics;
5
6
namespace
SiliconStudio.
Paradox
.Assets
7
{
8
internal
static
class
AssetCompilerContextExtensions
9
{
10
public
static
GraphicsPlatform
GetGraphicsPlatform(
this
AssetCompilerContext
context)
11
{
12
return
context.Properties.Get(
ParadoxConfig.GraphicsPlatform
);
13
}
14
15
public
static
TextureQuality
GetTextureQuality(
this
AssetCompilerContext
context)
16
{
17
return
context.Properties.Get(
ParadoxConfig.TextureQuality
);
18
}
19
20
public
static
GraphicsProfile
GetGraphicsProfile(
this
AssetCompilerContext
context)
21
{
22
return
context.Properties.Get(
ParadoxConfig.GraphicsProfile
);
23
}
24
}
25
}
SiliconStudio.Paradox.Graphics.GraphicsPlatform
GraphicsPlatform
The graphics platform.
Definition:
GraphicsPlatform.cs:11
SiliconStudio.Paradox.Assets.TextureQuality
TextureQuality
The desired texture quality.
Definition:
TextureQuality.cs:11
SiliconStudio.Assets.Compiler.AssetCompilerContext
The context used when compiling an asset in a Package.
Definition:
AssetCompilerContext.cs:10
SiliconStudio.Paradox.Graphics.Paradox
Paradox image file.
SiliconStudio.Paradox.Graphics.GraphicsProfile
GraphicsProfile
Identifies the set of supported devices for the demo based on device capabilities.
Definition:
GraphicsProfile.cs:11
sources
engine
SiliconStudio.Paradox.Assets
AssetCompilerContextExtensions.cs
Generated on Sat Dec 20 2014 21:51:28 for Paradox Game Engine by
1.8.7