Example #1
0
 public SparseBufferMemoryBindInfo
 (
     Buffer buffer            = default,
     uint bindCount           = default,
     SparseMemoryBind *pBinds = default
 )
 {
     Buffer    = buffer;
     BindCount = bindCount;
     PBinds    = pBinds;
 }
Example #2
0
 public SparseImageOpaqueMemoryBindInfo
 (
     Image image              = default,
     uint bindCount           = default,
     SparseMemoryBind *pBinds = default
 )
 {
     Image     = image;
     BindCount = bindCount;
     PBinds    = pBinds;
 }
        public SparseBufferMemoryBindInfo
        (
            Buffer?buffer            = null,
            uint?bindCount           = null,
            SparseMemoryBind *pBinds = null
        ) : this()
        {
            if (buffer is not null)
            {
                Buffer = buffer.Value;
            }

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

            if (pBinds is not null)
            {
                PBinds = pBinds;
            }
        }
        public SparseImageOpaqueMemoryBindInfo
        (
            Image?image              = null,
            uint?bindCount           = null,
            SparseMemoryBind *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;
            }
        }