コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="pointer">
        /// </param>
        internal static unsafe PhysicalDeviceShaderDemoteToHelperInvocationFeatures MarshalFrom(SharpVk.Interop.Multivendor.PhysicalDeviceShaderDemoteToHelperInvocationFeatures *pointer)
        {
            PhysicalDeviceShaderDemoteToHelperInvocationFeatures result = default(PhysicalDeviceShaderDemoteToHelperInvocationFeatures);

            result.ShaderDemoteToHelperInvocation = pointer->ShaderDemoteToHelperInvocation;
            return(result);
        }
コード例 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="pointer">
 /// </param>
 internal unsafe void MarshalTo(SharpVk.Interop.Multivendor.PhysicalDeviceShaderDemoteToHelperInvocationFeatures *pointer)
 {
     pointer->SType = StructureType.PhysicalDeviceShaderDemoteToHelperInvocationFeatures;
     pointer->Next  = null;
     pointer->ShaderDemoteToHelperInvocation = this.ShaderDemoteToHelperInvocation;
 }