Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 internal unsafe void MarshalTo(SharpVk.Interop.Multivendor.PhysicalDeviceVertexAttributeDivisorFeatures *pointer)
 {
     pointer->SType = StructureType.PhysicalDeviceVertexAttributeDivisorFeatures;
     pointer->Next  = null;
     pointer->VertexAttributeInstanceRateDivisor     = this.VertexAttributeInstanceRateDivisor;
     pointer->VertexAttributeInstanceRateZeroDivisor = this.VertexAttributeInstanceRateZeroDivisor;
 }
Exemple #2
0
        /// <summary>
        ///
        /// </summary>
        internal static unsafe PhysicalDeviceVertexAttributeDivisorFeatures MarshalFrom(SharpVk.Interop.Multivendor.PhysicalDeviceVertexAttributeDivisorFeatures *pointer)
        {
            PhysicalDeviceVertexAttributeDivisorFeatures result = default(PhysicalDeviceVertexAttributeDivisorFeatures);

            result.VertexAttributeInstanceRateDivisor     = pointer->VertexAttributeInstanceRateDivisor;
            result.VertexAttributeInstanceRateZeroDivisor = pointer->VertexAttributeInstanceRateZeroDivisor;
            return(result);
        }