MPSRayIntersector.EncodeIntersection Method

Definition

Overloads

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

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

[Foundation.Export("encodeIntersectionToCommandBuffer:intersectionType:rayBuffer:rayBufferOffset:intersectionBuffer:intersectionBufferOffset:rayCount:accelerationStructure:")]
public virtual void EncodeIntersection (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSIntersectionType intersectionType, Metal.IMTLBuffer rayBuffer, nuint rayBufferOffset, Metal.IMTLBuffer intersectionBuffer, nuint intersectionBufferOffset, nuint rayCount, MetalPerformanceShaders.MPSAccelerationStructure accelerationStructure);
abstract member EncodeIntersection : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSIntersectionType * Metal.IMTLBuffer * nuint * Metal.IMTLBuffer * nuint * nuint * MetalPerformanceShaders.MPSAccelerationStructure -> unit
override this.EncodeIntersection : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSIntersectionType * Metal.IMTLBuffer * nuint * Metal.IMTLBuffer * nuint * nuint * MetalPerformanceShaders.MPSAccelerationStructure -> unit

Parameters

commandBuffer
IMTLCommandBuffer
intersectionType
MPSIntersectionType
rayBuffer
IMTLBuffer
rayBufferOffset
System.System.UIntPtr System.unativeint
intersectionBuffer
IMTLBuffer
intersectionBufferOffset
System.System.UIntPtr System.unativeint
rayCount
System.System.UIntPtr System.unativeint
accelerationStructure
MPSAccelerationStructure
Attributes

Applies to

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

[Foundation.Export("encodeIntersectionToCommandBuffer:intersectionType:rayBuffer:rayBufferOffset:intersectionBuffer:intersectionBufferOffset:rayCountBuffer:rayCountBufferOffset:accelerationStructure:")]
public virtual void EncodeIntersection (Metal.IMTLCommandBuffer commandBuffer, MetalPerformanceShaders.MPSIntersectionType intersectionType, Metal.IMTLBuffer rayBuffer, nuint rayBufferOffset, Metal.IMTLBuffer intersectionBuffer, nuint intersectionBufferOffset, Metal.IMTLBuffer rayCountBuffer, nuint rayCountBufferOffset, MetalPerformanceShaders.MPSAccelerationStructure accelerationStructure);
abstract member EncodeIntersection : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSIntersectionType * Metal.IMTLBuffer * nuint * Metal.IMTLBuffer * nuint * Metal.IMTLBuffer * nuint * MetalPerformanceShaders.MPSAccelerationStructure -> unit
override this.EncodeIntersection : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSIntersectionType * Metal.IMTLBuffer * nuint * Metal.IMTLBuffer * nuint * Metal.IMTLBuffer * nuint * MetalPerformanceShaders.MPSAccelerationStructure -> unit

Parameters

commandBuffer
IMTLCommandBuffer
intersectionType
MPSIntersectionType
rayBuffer
IMTLBuffer
rayBufferOffset
System.System.UIntPtr System.unativeint
intersectionBuffer
IMTLBuffer
intersectionBufferOffset
System.System.UIntPtr System.unativeint
rayCountBuffer
IMTLBuffer
rayCountBufferOffset
System.System.UIntPtr System.unativeint
accelerationStructure
MPSAccelerationStructure
Attributes

Applies to