示例#1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="pointer">
 /// </param>
 internal unsafe void MarshalTo(SharpVk.Interop.NVidia.PhysicalDeviceCooperativeMatrixFeatures *pointer)
 {
     pointer->SType             = StructureType.PhysicalDeviceCooperativeMatrixFeatures;
     pointer->Next              = null;
     pointer->CooperativeMatrix = this.CooperativeMatrix;
     pointer->CooperativeMatrixRobustBufferAccess = this.CooperativeMatrixRobustBufferAccess;
 }
示例#2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="pointer">
        /// </param>
        internal static unsafe PhysicalDeviceCooperativeMatrixFeatures MarshalFrom(SharpVk.Interop.NVidia.PhysicalDeviceCooperativeMatrixFeatures *pointer)
        {
            PhysicalDeviceCooperativeMatrixFeatures result = default(PhysicalDeviceCooperativeMatrixFeatures);

            result.CooperativeMatrix = pointer->CooperativeMatrix;
            result.CooperativeMatrixRobustBufferAccess = pointer->CooperativeMatrixRobustBufferAccess;
            return(result);
        }