EffectsExtension.GenEffects Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GenEffects(Int32, UInt32) |
The GenEffects function is used to create one or more Effect objects. An Effect object stores an effect type and a set of parameter values to control that Effect. In order to use an Effect it must be attached to an Auxiliary Effect Slot object |
GenEffects(Int32) |
Generates one or more effect objects. |
GenEffects(Int32, Int32) |
The GenEffects function is used to create one or more Effect objects. An Effect object stores an effect type and a set of parameter values to control that Effect. In order to use an Effect it must be attached to an Auxiliary Effect Slot object |
GenEffects(Int32, UInt32)
Important
This API is not CLS-compliant.
The GenEffects function is used to create one or more Effect objects. An Effect object stores an effect type and a set of parameter values to control that Effect. In order to use an Effect it must be attached to an Auxiliary Effect Slot object
[System.CLSCompliant(false)]
public void GenEffects (int n, out uint effects);
member this.GenEffects : int * -> unit
Parameters
- n
- Int32
Number of Effects to be created.
- effects
- UInt32
Pointer addressing sufficient memory to store n Effect object identifiers.
- Attributes
Remarks
After creation an Effect has no type (EfxEffectType.Null), so before it can be used to store a set of parameters, the application must specify what type of effect should be stored in the object, using Effect() with EfxEffecti.
Applies to
GenEffects(Int32)
Generates one or more effect objects.
public int[] GenEffects (int n);
member this.GenEffects : int -> int[]
Parameters
- n
- Int32
Number of Effect object identifiers to generate.
Returns
Remarks
The GenEffects function is used to create one or more Effect objects. An Effect object stores an effect type and a set of parameter values to control that Effect. In order to use an Effect it must be attached to an Auxiliary Effect Slot object.
After creation an Effect has no type (EfxEffectType.Null), so before it can be used to store a set of parameters, the application must specify what type of effect should be stored in the object, using Effect() with EfxEffecti.
Applies to
GenEffects(Int32, Int32)
The GenEffects function is used to create one or more Effect objects. An Effect object stores an effect type and a set of parameter values to control that Effect. In order to use an Effect it must be attached to an Auxiliary Effect Slot object
public void GenEffects (int n, out int effects);
member this.GenEffects : int * -> unit
Parameters
- n
- Int32
Number of Effects to be created.
- effects
- Int32
Pointer addressing sufficient memory to store n Effect object identifiers.
Remarks
After creation an Effect has no type (EfxEffectType.Null), so before it can be used to store a set of parameters, the application must specify what type of effect should be stored in the object, using Effect() with EfxEffecti.