Exemplo n.º 1
0
            public IncludeDescriptor Build()
            {
                var descriptor = new IncludeDescriptorInternal();

                descriptor.Setup(container, value);
                var resultHandle = container.AddIncludeDescriptorInternal(descriptor);

                return(new IncludeDescriptor(container, resultHandle));
            }
Exemplo n.º 2
0
 internal extern FoundryHandle AddIncludeDescriptorInternal(IncludeDescriptorInternal includeDescriptorInternal);
Exemplo n.º 3
0
 // private
 internal IncludeDescriptor(ShaderContainer container, FoundryHandle handle)
 {
     this.container  = container;
     this.handle     = handle;
     this.descriptor = container?.GetIncludeDescriptor(handle) ?? IncludeDescriptorInternal.Invalid();
 }