Exemplo n.º 1
0
 /// <summary>
 ///
 /// </summary>
 internal unsafe void MarshalTo(SharpVk.Interop.NVidia.PhysicalDeviceMeshShaderFeatures *pointer)
 {
     pointer->SType      = StructureType.PhysicalDeviceMeshShaderFeatures;
     pointer->Next       = null;
     pointer->TaskShader = this.TaskShader;
     pointer->MeshShader = this.MeshShader;
 }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        internal static unsafe PhysicalDeviceMeshShaderFeatures MarshalFrom(SharpVk.Interop.NVidia.PhysicalDeviceMeshShaderFeatures *pointer)
        {
            PhysicalDeviceMeshShaderFeatures result = default(PhysicalDeviceMeshShaderFeatures);

            result.TaskShader = pointer->TaskShader;
            result.MeshShader = pointer->MeshShader;
            return(result);
        }