4 using SiliconStudio.Paradox.Shaders;
6 namespace SiliconStudio.
Paradox.Graphics.Internals
8 internal struct EffectParameterResourceBinding
10 public delegate
void ApplyParameterWithUpdaterDelegate(GraphicsDevice graphicsDevice, ref
EffectParameterResourceData resourceBinding, ShaderParameterUpdater updater);
12 public delegate
void ApplyParameterFromValueDelegate(GraphicsDevice graphicsDevice, ref
EffectParameterResourceData resourceBinding,
object value);
16 public ApplyParameterWithUpdaterDelegate ApplyParameterWithUpdater;
18 public ApplyParameterFromValueDelegate ApplyParameterDirect;
20 public void ApplyParameter<T>(GraphicsDevice graphicsDevice,
T value)
22 ApplyParameterDirect(graphicsDevice, ref Description, value);
Describes a shader parameter for a resource type.