public SparseImageMemoryBindInfo
 (
     Image image    = default,
     uint bindCount = default,
     SparseImageMemoryBind *pBinds = default
 )
 {
     Image     = image;
     BindCount = bindCount;
     PBinds    = pBinds;
 }
Esempio n. 2
0
        public SparseImageMemoryBindInfo
        (
            Image?image    = null,
            uint?bindCount = null,
            SparseImageMemoryBind *pBinds = null
        ) : this()
        {
            if (image is not null)
            {
                Image = image.Value;
            }

            if (bindCount is not null)
            {
                BindCount = bindCount.Value;
            }

            if (pBinds is not null)
            {
                PBinds = pBinds;
            }
        }