MPSMatrixCopy(3) MetalPerformanceShaders.framework MPSMatrixCopy(3)
NAME
MPSMatrixCopy
SYNOPSIS
#import <MPSMatrixCombination.h>
Inherits MPSKernel.
Instance Methods
(nonnull instancetype) - initWithDevice:
(nonnull instancetype) -
initWithDevice:copyRows:copyColumns:sourcesAreTransposed:destinationsAreTransposed:
(void) - encodeToCommandBuffer:copyDescriptor:
(nullable instancetype) - initWithCoder:device:
Properties
NSUInteger copyRows
NSUInteger copyColumns
BOOL sourcesAreTransposed
BOOL destinationsAreTransposed
Additional Inherited Members
Method Documentation
- (void) encodeToCommandBuffer: (nonnull id< MTLCommandBuffer >)
cmdBuf(MPSMatrixCopyDescriptor *__nonnull) copyDescriptor
Encode the copy operations to the command buffer
- (nullable instancetype) initWithCoder: (NSCoder *__nonnull)
aDecoder(nonnull id< MTLDevice >) device
NSSecureCoding compatability See MPSKernel::initWithCoder.
Parameters:
aDecoder The NSCoder subclass with your serialized
MPSMatrixLookUpAndCopy
device The MTLDevice on which to make the MPSMatrixLookUpAndCopy
Returns:
A new MPSMatrixLookUpAndCopy object, or nil if failure.
Reimplemented from MPSKernel.
- (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device
Standard init with default properties per filter type
Parameters:
device The device that the filter will be used on. May not be NULL.
Returns:
a pointer to the newly initialized object. This will fail,
returning nil if the device is not supported. Devices must be
MTLFeatureSet_iOS_GPUFamily2_v1 or later.
Reimplemented from MPSKernel.
- (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >)
device(NSUInteger) copyRows(NSUInteger) copyColumns(BOOL)
sourcesAreTransposed(BOOL) destinationsAreTransposed
Initialize a copy operator
Parameters:
copyRows The number of rows to copy for each copy operation
copyColumns The number of matrix columns to copy in each copy
operation
sourcesAreTransposed If YES, the sources are in row major storage
order
destinationsAreTransposed If YES, the destinations are in row major
storage order
Property Documentation
- (NSUInteger) copyColumns [read], [nonatomic], [assign]
The number of columns to copy for each copy operation
- (NSUInteger) copyRows [read], [nonatomic], [assign]
The number of rows to copy for each copy operation
- (BOOL) destinationsAreTransposed [read], [nonatomic], [assign]
If YES, the destinations are in row major storage order
- (BOOL) sourcesAreTransposed [read], [nonatomic], [assign]
If YES, the sources are in row major storage order
Author
Generated automatically by Doxygen for
MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-Thu2Jul 13 2017 MPSMatrixCopy(3)
Mac OS X 10.12.6 - Generated Mon Oct 30 19:04:49 CDT 2017