Пример #1
0
        public NewSceneComputeInfoMSFT
        (
            StructureType?type         = StructureType.TypeNewSceneComputeInfoMsft,
            void *next                 = null,
            uint?requestedFeatureCount = null,
            SceneComputeFeatureMSFT *requestedFeatures = null,
            SceneComputeConsistencyMSFT?consistency    = null,
            SceneBoundsMSFT?bounds = null
        ) : this()
        {
            if (type is not null)
            {
                Type = type.Value;
            }

            if (next is not null)
            {
                Next = next;
            }

            if (requestedFeatureCount is not null)
            {
                RequestedFeatureCount = requestedFeatureCount.Value;
            }

            if (requestedFeatures is not null)
            {
                RequestedFeatures = requestedFeatures;
            }

            if (consistency is not null)
            {
                Consistency = consistency.Value;
            }

            if (bounds is not null)
            {
                Bounds = bounds.Value;
            }
        }
 /// <summary>To be documented.</summary>
 public static unsafe Result EnumerateSceneComputeFeaturesMsft(this MsftSceneUnderstanding thisApi, [Count(Count = 0)] Instance instance, [Count(Count = 0)] ulong systemId, [Count(Count = 0)] uint featureCapacityInput, [Count(Count = 0)] Span <uint> featureCountOutput, [Count(Parameter = "featureCapacityInput")] SceneComputeFeatureMSFT *features)
 {
     // SpanOverloader
     return(thisApi.EnumerateSceneComputeFeaturesMsft(instance, systemId, featureCapacityInput, ref featureCountOutput.GetPinnableReference(), features));
 }