Files
stgsharp/StgSharp.Common/Environment/ErrorDefine.cs
T

28 lines
717 B
C#

// -----------------------------------------------------------------------------
// file="ErrorDefine"
// Project: StgSharp
// Copyright (c) Nitload.
// SPDX-License-Identifier: MIT
// -----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StgSharp
{
public class UniformEmptyReferenceException : Exception
{
public UniformEmptyReferenceException(
string program,
string name
)
: base(
$"Location -1 returned when trying to find uniform {name} in shader program {program}") { }
}
}