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
GraphicsResizeExtensions.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.Paradox.Games;
4
using
SiliconStudio.Core;
5
6
namespace
SiliconStudio.
Paradox
.Effects
7
{
8
public
static
class
GraphicsResizeExtensions
9
{
10
/// <summary>
11
/// Sets a resizable resource for the specified key.
12
/// </summary>
13
/// <typeparam name="T">Type must be a <see cref="IReferencable"/></typeparam>
14
/// <param name="parameterCollection">The parameter collection.</param>
15
/// <param name="context">The context.</param>
16
/// <param name="key">The key.</param>
17
/// <param name="resourceValue">The resource value.</param>
18
public
static
void
SetWithResize<T>(
this
ParameterCollection
parameterCollection,
GraphicsResizeContext
context,
ParameterKey<T>
key, T resourceValue) where T :
IReferencable
19
{
20
context.SetWithResize(parameterCollection, key, resourceValue);
21
}
22
}
23
}
SiliconStudio.Paradox.Effects.GraphicsResizeContext
Keep track of actions to execute when GraphicsDevice is resized.
Definition:
GraphicsResizeContext.cs:15
SiliconStudio.Core.IReferencable
Base interface for all referencable objects.
Definition:
IReferencable.cs:8
SiliconStudio.Paradox.Effects.GraphicsResizeExtensions
Definition:
GraphicsResizeExtensions.cs:8
SiliconStudio.Paradox.Effects.ParameterKey< T >
Key of an gereric effect parameter.
Definition:
ParameterKey.cs:174
SiliconStudio.Paradox.Graphics.Paradox
Paradox image file.
SiliconStudio.Paradox.Effects.ParameterCollection
A container to handle a hierarchical collection of effect variables.
Definition:
ParameterCollection.cs:28
sources
engine
SiliconStudio.Paradox.Engine
Effects
GraphicsResizeExtensions.cs
Generated on Sat Dec 20 2014 21:51:39 for Paradox Game Engine by
1.8.7