forked from kniEngine/kni
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathProcessorContext.cs
More file actions
74 lines (55 loc) · 2.78 KB
/
ProcessorContext.cs
File metadata and controls
74 lines (55 loc) · 2.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
// Copyright (C)2022 Nick Kastellanos
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework.Content.Pipeline;
using Microsoft.Xna.Framework.Graphics;
namespace EffectCompiler
{
internal class ProcessorContext : ContentProcessorContext
{
ContentBuildLogger _logger;
OpaqueDataDictionary _parameters = new OpaqueDataDictionary();
TargetPlatform _targetPlatform;
GraphicsProfile _targetProfile;
string _buildConfiguration;
string _outputFilename;
public ProcessorContext(ContentBuildLogger logger, TargetPlatform targetPlatform, GraphicsProfile targetProfile, string outputFilename, string config) : base()
{
_logger = logger;
_targetPlatform = targetPlatform;
_targetProfile = targetProfile;
_outputFilename = outputFilename;
_buildConfiguration = config;
}
public override string IntermediateDirectory { get { throw new NotImplementedException(); } }
public override string OutputDirectory { get { throw new NotImplementedException(); } }
public override string BuildConfiguration { get { return _buildConfiguration; } }
public override ContentBuildLogger Logger { get { return _logger; } }
public override string OutputFilename { get { return _outputFilename; } }
public override OpaqueDataDictionary Parameters { get { return _parameters; } }
public override TargetPlatform TargetPlatform { get { return _targetPlatform; } }
public override GraphicsProfile TargetProfile { get { return _targetProfile; } }
public override void AddDependency(string filename)
{
}
public override void AddOutputFile(string filename)
{
throw new System.NotImplementedException();
}
public override TOutput BuildAndLoadAsset<TInput, TOutput>(ExternalReference<TInput> sourceAsset, string processorName, OpaqueDataDictionary processorParameters, string importerName)
{
throw new System.NotImplementedException();
}
public override ExternalReference<TOutput> BuildAsset<TInput, TOutput>(ExternalReference<TInput> sourceAsset, string processorName, OpaqueDataDictionary processorParameters, string importerName, string assetName)
{
throw new System.NotImplementedException();
}
public override TOutput Convert<TInput, TOutput>(TInput input, string processorName, OpaqueDataDictionary processorParameters)
{
throw new System.NotImplementedException();
}
}
}