Move movie transition request to model
This commit is contained in:
@@ -28,13 +28,6 @@ public readonly record struct SurfaceRectCopy(
|
||||
int SourceSurface, int DestinationSurface, int SourceX, int SourceY,
|
||||
int Width, int Height, int DestinationX, int DestinationY);
|
||||
|
||||
/// <summary>Opcode 0x24d's captured-range movie-mask transition. The movie's decoded green channel
|
||||
/// becomes a byte-per-pixel alpha mask over SourceRange in the scratch surface.</summary>
|
||||
public readonly record struct MovieMaskTransitionRequest(
|
||||
long CommandKey, int SurfaceSlot, long SourceRangeStart, int SourceRangeCount,
|
||||
int X, int Y, int Width, int Height, long Mode, long ResourceId,
|
||||
long StartDelayMs, long DurationMs);
|
||||
|
||||
/// <summary>A synchronous AGE-owned diagnostic prompt after native body/context formatting.</summary>
|
||||
public readonly record struct DiagnosticMessage(string Caption, string Text);
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
using Age.Engine.Hosting;
|
||||
|
||||
namespace Age.Engine.Model;
|
||||
|
||||
/// <summary>The sampled native one-shot channels carried to the compositor: op 0x21e scale, op 0x21f
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Linq;
|
||||
using Age.Engine.Hosting;
|
||||
|
||||
namespace Age.Engine.Model;
|
||||
|
||||
|
||||
8
engine/Age.Engine/Model/MovieMaskTransitionRequest.cs
Normal file
8
engine/Age.Engine/Model/MovieMaskTransitionRequest.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace Age.Engine.Model;
|
||||
|
||||
/// <summary>Opcode 0x24d's captured-range movie-mask transition. The movie's decoded green channel
|
||||
/// becomes a byte-per-pixel alpha mask over SourceRange in the scratch surface.</summary>
|
||||
public readonly record struct MovieMaskTransitionRequest(
|
||||
long CommandKey, int SurfaceSlot, long SourceRangeStart, int SourceRangeCount,
|
||||
int X, int Y, int Width, int Height, long Mode, long ResourceId,
|
||||
long StartDelayMs, long DurationMs);
|
||||
Reference in New Issue
Block a user