Share via


MPSRayIntersector.EncodeIntersection Method

Definition

Overloads

EncodeIntersection(IMTLCommandBuffer, MPSIntersectionType, IMTLBuffer, UIntPtr, IMTLBuffer, UIntPtr, UIntPtr, MPSAccelerationStructure)

[Foundation.Export("encodeIntersectionToCommandBuffer:intersectionType:rayBuffer:rayBufferOffset:intersectionBuffer:intersectionBufferOffset:rayCount:accelerationStructure:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EncodeIntersection(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSIntersectionType intersectionType, Metal.IMTLBuffer rayBuffer, UIntPtr rayBufferOffset, Metal.IMTLBuffer intersectionBuffer, UIntPtr intersectionBufferOffset, UIntPtr rayCount, MetalPerformanceShaders.MPSAccelerationStructure accelerationStructure);
[<Foundation.Export("encodeIntersectionToCommandBuffer:intersectionType:rayBuffer:rayBufferOffset:intersectionBuffer:intersectionBufferOffset:rayCount:accelerationStructure:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EncodeIntersection : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSIntersectionType * Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint * unativeint * MetalPerformanceShaders.MPSAccelerationStructure -> unit
override this.EncodeIntersection : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSIntersectionType * Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint * unativeint * MetalPerformanceShaders.MPSAccelerationStructure -> unit

Parameters

commandBuffer
IMTLCommandBuffer
intersectionType
MPSIntersectionType
rayBuffer
IMTLBuffer
rayBufferOffset
UIntPtr

unativeint

intersectionBuffer
IMTLBuffer
intersectionBufferOffset
UIntPtr

unativeint

rayCount
UIntPtr

unativeint

accelerationStructure
MPSAccelerationStructure
Attributes

Applies to

EncodeIntersection(IMTLCommandBuffer, MPSIntersectionType, IMTLBuffer, UIntPtr, IMTLBuffer, UIntPtr, IMTLBuffer, UIntPtr, MPSAccelerationStructure)

[Foundation.Export("encodeIntersectionToCommandBuffer:intersectionType:rayBuffer:rayBufferOffset:intersectionBuffer:intersectionBufferOffset:rayCountBuffer:rayCountBufferOffset:accelerationStructure:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void EncodeIntersection(Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSIntersectionType intersectionType, Metal.IMTLBuffer rayBuffer, UIntPtr rayBufferOffset, Metal.IMTLBuffer intersectionBuffer, UIntPtr intersectionBufferOffset, Metal.IMTLBuffer rayCountBuffer, UIntPtr rayCountBufferOffset, MetalPerformanceShaders.MPSAccelerationStructure accelerationStructure);
[<Foundation.Export("encodeIntersectionToCommandBuffer:intersectionType:rayBuffer:rayBufferOffset:intersectionBuffer:intersectionBufferOffset:rayCountBuffer:rayCountBufferOffset:accelerationStructure:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member EncodeIntersection : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSIntersectionType * Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint * MetalPerformanceShaders.MPSAccelerationStructure -> unit
override this.EncodeIntersection : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSIntersectionType * Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint * Metal.IMTLBuffer * unativeint * MetalPerformanceShaders.MPSAccelerationStructure -> unit

Parameters

commandBuffer
IMTLCommandBuffer
intersectionType
MPSIntersectionType
rayBuffer
IMTLBuffer
rayBufferOffset
UIntPtr

unativeint

intersectionBuffer
IMTLBuffer
intersectionBufferOffset
UIntPtr

unativeint

rayCountBuffer
IMTLBuffer
rayCountBufferOffset
UIntPtr

unativeint

accelerationStructure
MPSAccelerationStructure
Attributes

Applies to