forked from MoonsideGames/MoonWorks
rename params to uniforms
parent
c62edbdf91
commit
ada9a1bb05
|
@ -1 +1 @@
|
||||||
Subproject commit 381c412914619db10ad191b13f4f4d4aae8f1072
|
Subproject commit 11d5671762bc999663672959568399b8e564420f
|
|
@ -69,13 +69,13 @@ namespace MoonWorks.Graphics
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public unsafe uint PushComputeShaderParams<T>(
|
public unsafe uint PushComputeShaderUniforms<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_PushComputeShaderParams(
|
return Refresh.Refresh_PushComputeShaderUniforms(
|
||||||
Device.Handle,
|
Device.Handle,
|
||||||
Handle,
|
Handle,
|
||||||
(IntPtr) ptr,
|
(IntPtr) ptr,
|
||||||
|
|
Loading…
Reference in New Issue