Class MPSCustomKernelArgumentCount
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.metalperformanceshaders.struct.MPSCustomKernelArgumentCount
-
public final class MPSCustomKernelArgumentCount extends org.moe.natj.c.StructObject
-
-
Constructor Summary
Constructors Modifier Constructor Description MPSCustomKernelArgumentCount()MPSCustomKernelArgumentCount(long destinationTextureCount, long sourceTextureCount, long broadcastTextureCount)protectedMPSCustomKernelArgumentCount(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longbroadcastTextureCount()< number of source textures shared across all parts of a batchlongdestinationTextureCount()< must be 1.voidsetBroadcastTextureCount(long value)< number of source textures shared across all parts of a batchvoidsetDestinationTextureCount(long value)< must be 1.voidsetSourceTextureCount(long value)< number of source textures.longsourceTextureCount()< number of source textures.
-
-
-
Constructor Detail
-
MPSCustomKernelArgumentCount
public MPSCustomKernelArgumentCount()
-
MPSCustomKernelArgumentCount
protected MPSCustomKernelArgumentCount(org.moe.natj.general.Pointer peer)
-
MPSCustomKernelArgumentCount
public MPSCustomKernelArgumentCount(long destinationTextureCount, long sourceTextureCount, long broadcastTextureCount)
-
-
Method Detail
-
destinationTextureCount
public long destinationTextureCount()
< must be 1. Can't have 2 or more. If you have 0, this is 1.
-
setDestinationTextureCount
public void setDestinationTextureCount(long value)
< must be 1. Can't have 2 or more. If you have 0, this is 1.
-
sourceTextureCount
public long sourceTextureCount()
< number of source textures. These textures will be scaled by batchCount.
-
setSourceTextureCount
public void setSourceTextureCount(long value)
< number of source textures. These textures will be scaled by batchCount.
-
broadcastTextureCount
public long broadcastTextureCount()
< number of source textures shared across all parts of a batch
-
setBroadcastTextureCount
public void setBroadcastTextureCount(long value)
< number of source textures shared across all parts of a batch
-
-