Skip to content

Commit

Permalink
Removed remaining texture/text shader variables from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
RedImp1470 committed Sep 21, 2021
1 parent a85d562 commit eef8e0b
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 58 deletions.
4 changes: 0 additions & 4 deletions Examples/Complete/BoneAnimation/Core/Bone.cs
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,6 @@ public override void RenderAFrame()

private SceneContainer CreateGui()
{
var vsTex = AssetStorage.Get<string>("texture.vert");
var psTex = AssetStorage.Get<string>("texture.frag");
var psText = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;

Expand Down
4 changes: 0 additions & 4 deletions Examples/Complete/Camera/Core/Camera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,6 @@ private void UserSideFrustumCulling(IList<SceneNode> nodeChildren, FrustumF frus

private SceneContainer CreateGui()
{
string vsTex = AssetStorage.Get<string>("texture.vert");
string psTex = AssetStorage.Get<string>("texture.frag");
string psText = AssetStorage.Get<string>("text.frag");

float canvasWidth = Width / 100f;
float canvasHeight = Height / 100f;

Expand Down
14 changes: 0 additions & 14 deletions Examples/Complete/ComputeFractal/Core/ComputeFractal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,20 +172,6 @@ private float Sawtooth(float i, float m)

private SceneContainer CreateGui()
{

/* Unmerged change from project 'Fusee.Examples.ComputeFractal.Core(net5.0)'
Before:
var vsTex = AssetStorage.Get<string>("texture.vert");
var psText = AssetStorage.Get<string>("text.frag");
After:
_ = AssetStorage.Get<string>("texture.vert");
string psText;
_ = AssetStorage.Get<string>("text.frag");
*/
_ = AssetStorage.Get<string>("texture.vert");
string psText;
_ = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;

Expand Down
4 changes: 0 additions & 4 deletions Examples/Complete/Integrations/Core/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,6 @@ public void ChangeRocketZ(float z)

private SceneContainer CreateGui()
{
var vsTex = AssetStorage.Get<string>("texture.vert");
var psTex = AssetStorage.Get<string>("texture.frag");
var psText = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;

Expand Down
8 changes: 0 additions & 8 deletions Examples/Complete/Labyrinth/Core/Labyrinth.cs
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,6 @@ public override void RenderAFrame()

private SceneContainer CreateGui()
{
var vsTex = AssetStorage.Get<string>("texture.vert");
var psTex = AssetStorage.Get<string>("texture.frag");
var psText = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;

Expand Down Expand Up @@ -734,10 +730,6 @@ public void Winner()
// Creates winning display
public SceneContainer WinningDisplay()
{
var vsTex = AssetStorage.Get<string>("texture.vert");
var psTex = AssetStorage.Get<string>("texture.frag");
var psText = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;

Expand Down
4 changes: 0 additions & 4 deletions Examples/Complete/Picking/Core/Picking.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,6 @@ public override void RenderAFrame()

private SceneContainer CreateGui()
{
var vsTex = AssetStorage.Get<string>("texture.vert");
var psTex = AssetStorage.Get<string>("texture.frag");
var psText = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;

Expand Down
4 changes: 0 additions & 4 deletions Examples/Complete/Simple/Core/Simple.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ public override void RenderAFrame()

private SceneContainer CreateGui()
{
var vsTex = AssetStorage.Get<string>("texture.vert");
var psTex = AssetStorage.Get<string>("texture.frag");
var psText = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;

Expand Down
4 changes: 0 additions & 4 deletions Examples/Complete/SimpleDeferred/Core/SimpleDeferred.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ public override void RenderAFrame()

private SceneContainer CreateGui()
{
var vsTex = AssetStorage.Get<string>("texture.vert");
var psTex = AssetStorage.Get<string>("texture.frag");
var psText = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;

Expand Down
4 changes: 0 additions & 4 deletions Examples/Complete/Starkiller/Core/Starkiller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,6 @@ public override void RenderAFrame()
}
private SceneContainer CreateGui()
{
var vsTex = AssetStorage.Get<string>("texture.vert");
var psTex = AssetStorage.Get<string>("texture.frag");
var psText = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;

Expand Down
4 changes: 0 additions & 4 deletions Examples/Complete/SurfaceEffects/Core/SurfaceEffects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,6 @@ public override void RenderAFrame()

private SceneContainer CreateGui()
{
var vsTex = AssetStorage.Get<string>("texture.vert");
var psTex = AssetStorage.Get<string>("texture.frag");
var psText = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;

Expand Down
4 changes: 0 additions & 4 deletions src/Engine/Player/Core/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,6 @@ public override void Resize(ResizeEventArgs e)

private SceneContainer CreateGui()
{
var vsTex = AssetStorage.Get<string>("texture.vert");
var psTex = AssetStorage.Get<string>("texture.frag");
var psText = AssetStorage.Get<string>("text.frag");

var canvasWidth = Width / 100f;
var canvasHeight = Height / 100f;

Expand Down

0 comments on commit eef8e0b

Please sign in to comment.