MPSRayIntersector.EncodeIntersection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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