예제 #1
0
        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;
        }
예제 #2
0
        private void BeginShader(MaterialTextureType texType)
        {
            CreateShaders();

            //if(texType == MaterialTextureType.NoTexture)
        }