rename ShaderParams to ShaderUniforms
parent
9e4007f9f0
commit
c62edbdf91
|
@ -1 +1 @@
|
||||||
Subproject commit f5beb976bbe9c5775bef66cf20d264e918edffcd
|
Subproject commit 381c412914619db10ad191b13f4f4d4aae8f1072
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue