Package apple.metal.protocol
Interface MTLBufferBinding
-
- All Superinterfaces:
MTLBinding
public interface MTLBufferBinding extends MTLBinding
API-Since: 16.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longbufferAlignment()min alignment of starting offset in the bufferlongbufferDataSize()sizeof(T) for T *argNamelongbufferDataType()MTLDataTypeFloat, MTLDataTypeFloat4, MTLDataTypeStruct, ...@Nullable MTLPointerTypebufferPointerType()@Nullable MTLStructTypebufferStructType()-
Methods inherited from interface apple.metal.protocol.MTLBinding
access, index, isArgument, isUsed, name, type
-
-
-
-
Method Detail
-
bufferAlignment
long bufferAlignment()
min alignment of starting offset in the buffer
-
bufferDataSize
long bufferDataSize()
sizeof(T) for T *argName
-
bufferDataType
long bufferDataType()
MTLDataTypeFloat, MTLDataTypeFloat4, MTLDataTypeStruct, ...
-
bufferPointerType
@Nullable @Nullable MTLPointerType bufferPointerType()
-
bufferStructType
@Nullable @Nullable MTLStructType bufferStructType()
-
-