コード例 #1
0
        internal static unsafe PhysicalDevicePushDescriptorProperties MarshalFrom(SharpVk.Interop.Khronos.PhysicalDevicePushDescriptorProperties *pointer)
        {
            PhysicalDevicePushDescriptorProperties result = default(PhysicalDevicePushDescriptorProperties);

            result.MaxPushDescriptors = pointer->MaxPushDescriptors;
            return(result);
        }
コード例 #2
0
 internal unsafe void MarshalTo(SharpVk.Interop.Khronos.PhysicalDevicePushDescriptorProperties *pointer)
 {
     pointer->SType = StructureType.PhysicalDevicePushDescriptorPropertiesKhr;
     pointer->Next  = null;
     pointer->MaxPushDescriptors = this.MaxPushDescriptors;
 }