/// <inheritdoc/> protected internal override unsafe void MemSetInternal( AcceleratorStream stream, byte value, long offsetInBytes, long lengthInBytes) { var binding = Accelerator.BindScoped(); CudaException.ThrowIfFailed( CurrentAPI.Memset( new IntPtr(NativePtr.ToInt64() + offsetInBytes), value, new IntPtr(lengthInBytes), stream)); binding.Recover(); }
set => Script_setSourceCode(NativePtr, value);
Entity_setName(NativePtr, value);
public override int GetHashCode() { return(NativePtr.ToInt32()); }
set => objc_msgSend(NativePtr, sel_setStencilFailureOperation, (uint)value);
set => Level_setCamera(NativePtr, value);
set => objc_msgSend(NativePtr, sel_setRAddressMode, (uint)value);
set => objc_msgSend(NativePtr, sel_setFastMathEnabled, value);
get => makeNativeObjectDelegate.Invoke(NativeLists.PointerList_get(NativePtr, index));
set => objc_msgSend(NativePtr, sel_setTextureType, (uint)value);
get => (MTLTextureType)uint_objc_msgSend(NativePtr, sel_textureType);
set => objc_msgSend(NativePtr, sel_setComputeFunction, value.NativePtr);
set => Shader_setSourceCode(NativePtr, value);
set => RenderStep_setCamera(NativePtr, value);
set => objc_msgSend(NativePtr, Selectors.setObjectAtIndexedSubscript, value.NativePtr, index);
get => bool8_objc_msgSend(NativePtr, sel_fastMathEnabled);
set => SetGravity_Native(NativePtr, value);
get => (MTLSamplerAddressMode)uint_objc_msgSend(NativePtr, sel_rAddressMode);
get => (MTLStencilOperation)uint_objc_msgSend(NativePtr, sel_stencilFailureOperation);
/// <summary cref="MemoryBuffer.MemSetToZero(AcceleratorStream)"/> public unsafe override void MemSetToZero(AcceleratorStream stream) { stream.Synchronize(); Unsafe.InitBlock(NativePtr.ToPointer(), 0, (uint)LengthInBytes); }
get => makeNativeObjectDelegate.Invoke(NativeLists.EntityList_get(NativePtr, index));