Exemplo n.º 1
0
        public UnorderedAccessViewDesc
        (
            Silk.NET.DXGI.Format?format            = null,
            UavDimension?viewDimension             = null,
            UnorderedAccessViewDescUnion?anonymous = null,
            BufferUav?buffer             = null,
            Tex1DUav?texture1D           = null,
            Tex1DArrayUav?texture1DArray = null,
            Tex2DUav?texture2D           = null,
            Tex2DArrayUav?texture2DArray = null,
            Tex3DUav?texture3D           = null
        ) : this()
        {
            if (format is not null)
            {
                Format = format.Value;
            }

            if (viewDimension is not null)
            {
                ViewDimension = viewDimension.Value;
            }

            if (anonymous is not null)
            {
                Anonymous = anonymous.Value;
            }

            if (buffer is not null)
            {
                Buffer = buffer.Value;
            }

            if (texture1D is not null)
            {
                Texture1D = texture1D.Value;
            }

            if (texture1DArray is not null)
            {
                Texture1DArray = texture1DArray.Value;
            }

            if (texture2D is not null)
            {
                Texture2D = texture2D.Value;
            }

            if (texture2DArray is not null)
            {
                Texture2DArray = texture2DArray.Value;
            }

            if (texture3D is not null)
            {
                Texture3D = texture3D.Value;
            }
        }
        public UnorderedAccessViewDescUnion
        (
            BufferUav?buffer             = null,
            Tex1DUav?texture1D           = null,
            Tex1DArrayUav?texture1DArray = null,
            Tex2DUav?texture2D           = null,
            Tex2DArrayUav?texture2DArray = null,
            Tex3DUav?texture3D           = null
        ) : this()
        {
            if (buffer is not null)
            {
                Buffer = buffer.Value;
            }

            if (texture1D is not null)
            {
                Texture1D = texture1D.Value;
            }

            if (texture1DArray is not null)
            {
                Texture1DArray = texture1DArray.Value;
            }

            if (texture2D is not null)
            {
                Texture2D = texture2D.Value;
            }

            if (texture2DArray is not null)
            {
                Texture2DArray = texture2DArray.Value;
            }

            if (texture3D is not null)
            {
                Texture3D = texture3D.Value;
            }
        }
Exemplo n.º 3
0
        public AnonymousRecordD3d11L4635C5
        (
            BufferUav?buffer             = null,
            Tex1DUav?texture1D           = null,
            Tex1DArrayUav?texture1DArray = null,
            Tex2DUav?texture2D           = null,
            Tex2DArrayUav?texture2DArray = null,
            Tex3DUav?texture3D           = null
        ) : this()
        {
            if (buffer is not null)
            {
                Buffer = buffer.Value;
            }

            if (texture1D is not null)
            {
                Texture1D = texture1D.Value;
            }

            if (texture1DArray is not null)
            {
                Texture1DArray = texture1DArray.Value;
            }

            if (texture2D is not null)
            {
                Texture2D = texture2D.Value;
            }

            if (texture2DArray is not null)
            {
                Texture2DArray = texture2DArray.Value;
            }

            if (texture3D is not null)
            {
                Texture3D = texture3D.Value;
            }
        }