public MaterialPerObjectInputElement(string name, MaterialInputType type, int bufferSizeInBytes) : base(name, type) { BufferSizeInBytes = bufferSizeInBytes; }
public MaterialGlobalInputElement(string name, MaterialInputType type, string providerName) : base(name, type) { GlobalProviderName = providerName; }
public MaterialGlobalInputElement(string name, MaterialInputType type, ConstantBufferDataProvider dataProvider) : base(name, type) { DataProvider = dataProvider; UseGlobalNamedBuffer = false; }
public MaterialInputElement(string name, MaterialInputType type) { Name = name; Type = type; }