rename ShaderParams to ShaderUniforms

pull/14/head
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 params T[] uniforms
) where T : unmanaged ) where T : unmanaged
{ {
fixed (T* ptr = &uniforms[0]) fixed (T* ptr = &uniforms[0])
{ {
return Refresh.Refresh_PushVertexShaderParams( return Refresh.Refresh_PushVertexShaderUniforms(
Device.Handle, Device.Handle,
Handle, Handle,
(IntPtr) ptr, (IntPtr) ptr,
@ -143,13 +143,13 @@ namespace MoonWorks.Graphics
} }
} }
public unsafe uint PushFragmentShaderParams<T>( public unsafe uint PushFragmentShaderUniforms<T>(
params T[] uniforms params T[] uniforms
) where T : unmanaged ) where T : unmanaged
{ {
fixed (T* ptr = &uniforms[0]) fixed (T* ptr = &uniforms[0])
{ {
return Refresh.Refresh_PushFragmentShaderParams( return Refresh.Refresh_PushFragmentShaderUniforms(
Device.Handle, Device.Handle,
Handle, Handle,
(IntPtr) ptr, (IntPtr) ptr,