rename ShaderParams to ShaderUniforms

main
cosmonaut 2021-01-31 19:39:41 -08:00
parent 9e4007f9f0
commit c62edbdf91
2 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit f5beb976bbe9c5775bef66cf20d264e918edffcd
Subproject commit 381c412914619db10ad191b13f4f4d4aae8f1072

View File

@ -128,13 +128,13 @@ namespace MoonWorks.Graphics
);
}
public unsafe uint PushVertexShaderParams<T>(
public unsafe uint PushVertexShaderUniforms<T>(
params T[] uniforms
) where T : unmanaged
{
fixed (T* ptr = &uniforms[0])
{
return Refresh.Refresh_PushVertexShaderParams(
return Refresh.Refresh_PushVertexShaderUniforms(
Device.Handle,
Handle,
(IntPtr) ptr,
@ -143,13 +143,13 @@ namespace MoonWorks.Graphics
}
}
public unsafe uint PushFragmentShaderParams<T>(
public unsafe uint PushFragmentShaderUniforms<T>(
params T[] uniforms
) where T : unmanaged
{
fixed (T* ptr = &uniforms[0])
{
return Refresh.Refresh_PushFragmentShaderParams(
return Refresh.Refresh_PushFragmentShaderUniforms(
Device.Handle,
Handle,
(IntPtr) ptr,