Package apple.metal.c
Class Metal
- java.lang.Object
-
- apple.metal.c.Metal
-
public final class Metal extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringMTLBinaryArchiveDomain()static java.lang.StringMTLCaptureErrorDomain()static MTLClearColorMTLClearColorMake(double red, double green, double blue, double alpha)static java.lang.StringMTLCommandBufferEncoderInfoErrorKey()Key in the userInfo for MTLCommandBufferError NSErrors.static java.lang.StringMTLCommandBufferErrorDomain()[@constant] MTLCommandBufferErrorDomain An error domain for NSError objects produced by MTLCommandBufferstatic java.lang.StringMTLCommonCounterClipperInvocations()static java.lang.StringMTLCommonCounterClipperPrimitivesOut()static java.lang.StringMTLCommonCounterComputeKernelInvocations()static java.lang.StringMTLCommonCounterFragmentCycles()static java.lang.StringMTLCommonCounterFragmentInvocations()static java.lang.StringMTLCommonCounterFragmentsPassed()static java.lang.StringMTLCommonCounterPostTessellationVertexCycles()static java.lang.StringMTLCommonCounterPostTessellationVertexInvocations()static java.lang.StringMTLCommonCounterRenderTargetWriteCycles()static java.lang.StringMTLCommonCounterSetStageUtilization()static java.lang.StringMTLCommonCounterSetStatistic()static java.lang.StringMTLCommonCounterSetTimestamp()static java.lang.StringMTLCommonCounterTessellationCycles()static java.lang.StringMTLCommonCounterTessellationInputPatches()static java.lang.StringMTLCommonCounterTimestamp()static java.lang.StringMTLCommonCounterTotalCycles()static java.lang.StringMTLCommonCounterVertexCycles()static java.lang.StringMTLCommonCounterVertexInvocations()static MTLSamplePositionMTLCoordinate2DMake(float x, float y)[@function] MTLCoordinate2DMake Convenience function to create a 2D coordinate from 2 values.static java.lang.StringMTLCounterErrorDomain()[@constant] MTLCounterErrorDomain NSErrors raised when creating a counter sample buffer.static java.lang.ObjectMTLCreateSystemDefaultDevice()Returns a reference to the preferred system default Metal device.static java.lang.StringMTLDynamicLibraryDomain()static MTLIndirectCommandBufferExecutionRangeMTLIndirectCommandBufferExecutionRangeMake(int location, int length)static java.lang.StringMTLLibraryErrorDomain()[@constant] MTLLibraryErrorDomain NSErrors raised when creating a library.static MTLOriginMTLOriginMake(long x, long y, long z)static MTLRegionMTLRegionMake1D(long x, long width)static MTLRegionMTLRegionMake2D(long x, long y, long width, long height)static MTLRegionMTLRegionMake3D(long x, long y, long z, long width, long height, long depth)static MTLSamplePositionMTLSamplePositionMake(float x, float y)static MTLSizeMTLSizeMake(long width, long height, long depth)static MTLTextureSwizzleChannelsMTLTextureSwizzleChannelsMake(byte r, byte g, byte b, byte a)
-
-
-
Method Detail
-
MTLOriginMake
public static MTLOrigin MTLOriginMake(long x, long y, long z)
-
MTLSizeMake
public static MTLSize MTLSizeMake(long width, long height, long depth)
-
MTLRegionMake1D
public static MTLRegion MTLRegionMake1D(long x, long width)
-
MTLRegionMake2D
public static MTLRegion MTLRegionMake2D(long x, long y, long width, long height)
-
MTLRegionMake3D
public static MTLRegion MTLRegionMake3D(long x, long y, long z, long width, long height, long depth)
-
MTLCreateSystemDefaultDevice
public static java.lang.Object MTLCreateSystemDefaultDevice()
Returns a reference to the preferred system default Metal device. On Mac OS X systems that support automatic graphics switching, calling this API to get a Metal device will cause the system to switch to the high power GPU. On other systems that support more than one GPU it will return the GPU that is associated with the main display.
-
MTLClearColorMake
public static MTLClearColor MTLClearColorMake(double red, double green, double blue, double alpha)
-
MTLLibraryErrorDomain
public static java.lang.String MTLLibraryErrorDomain()
[@constant] MTLLibraryErrorDomain NSErrors raised when creating a library.
-
MTLCommandBufferErrorDomain
public static java.lang.String MTLCommandBufferErrorDomain()
[@constant] MTLCommandBufferErrorDomain An error domain for NSError objects produced by MTLCommandBuffer
-
MTLSamplePositionMake
public static MTLSamplePosition MTLSamplePositionMake(float x, float y)
-
MTLCoordinate2DMake
public static MTLSamplePosition MTLCoordinate2DMake(float x, float y)
[@function] MTLCoordinate2DMake Convenience function to create a 2D coordinate from 2 values.
-
MTLTextureSwizzleChannelsMake
public static MTLTextureSwizzleChannels MTLTextureSwizzleChannelsMake(byte r, byte g, byte b, byte a)
-
MTLIndirectCommandBufferExecutionRangeMake
public static MTLIndirectCommandBufferExecutionRange MTLIndirectCommandBufferExecutionRangeMake(int location, int length)
-
MTLCaptureErrorDomain
public static java.lang.String MTLCaptureErrorDomain()
-
MTLCommonCounterTimestamp
public static java.lang.String MTLCommonCounterTimestamp()
-
MTLCommonCounterTessellationInputPatches
public static java.lang.String MTLCommonCounterTessellationInputPatches()
-
MTLCommonCounterVertexInvocations
public static java.lang.String MTLCommonCounterVertexInvocations()
-
MTLCommonCounterPostTessellationVertexInvocations
public static java.lang.String MTLCommonCounterPostTessellationVertexInvocations()
-
MTLCommonCounterClipperInvocations
public static java.lang.String MTLCommonCounterClipperInvocations()
-
MTLCommonCounterClipperPrimitivesOut
public static java.lang.String MTLCommonCounterClipperPrimitivesOut()
-
MTLCommonCounterFragmentInvocations
public static java.lang.String MTLCommonCounterFragmentInvocations()
-
MTLCommonCounterFragmentsPassed
public static java.lang.String MTLCommonCounterFragmentsPassed()
-
MTLCommonCounterComputeKernelInvocations
public static java.lang.String MTLCommonCounterComputeKernelInvocations()
-
MTLCommonCounterTotalCycles
public static java.lang.String MTLCommonCounterTotalCycles()
-
MTLCommonCounterVertexCycles
public static java.lang.String MTLCommonCounterVertexCycles()
-
MTLCommonCounterTessellationCycles
public static java.lang.String MTLCommonCounterTessellationCycles()
-
MTLCommonCounterPostTessellationVertexCycles
public static java.lang.String MTLCommonCounterPostTessellationVertexCycles()
-
MTLCommonCounterFragmentCycles
public static java.lang.String MTLCommonCounterFragmentCycles()
-
MTLCommonCounterRenderTargetWriteCycles
public static java.lang.String MTLCommonCounterRenderTargetWriteCycles()
-
MTLCommonCounterSetTimestamp
public static java.lang.String MTLCommonCounterSetTimestamp()
-
MTLCommonCounterSetStageUtilization
public static java.lang.String MTLCommonCounterSetStageUtilization()
-
MTLCommonCounterSetStatistic
public static java.lang.String MTLCommonCounterSetStatistic()
-
MTLCounterErrorDomain
public static java.lang.String MTLCounterErrorDomain()
[@constant] MTLCounterErrorDomain NSErrors raised when creating a counter sample buffer.
-
MTLCommandBufferEncoderInfoErrorKey
public static java.lang.String MTLCommandBufferEncoderInfoErrorKey()
Key in the userInfo for MTLCommandBufferError NSErrors. Value is an NSArray of MTLCommandBufferEncoderInfo objects in recorded order if an appropriate MTLCommandBufferErrorOption was set, otherwise the key will not exist in the userInfo dictionary.
-
MTLDynamicLibraryDomain
public static java.lang.String MTLDynamicLibraryDomain()
-
MTLBinaryArchiveDomain
public static java.lang.String MTLBinaryArchiveDomain()
-
-