public TextureSelectForm(INode textureSetNode, MaterialTextureType type) : this( textureSetNode ) { mMaterialTextureTypeLabel.Visible = true; mMaterialTextureTypeComboBox.Visible = true; foreach (string typeName in Enum.GetNames(typeof(MaterialTextureType))) { mMaterialTextureTypeComboBox.Items.Add(typeName); } mMaterialTextureTypeComboBox.SelectedIndex = ( int )type; }
private void BeginShader(MaterialTextureType texType) { CreateShaders(); //if(texType == MaterialTextureType.NoTexture) }