Beispiel #1
0
            /// 使用するデータのセット
            public void Start( DemoModel.BasicModel useModel, DemoModel.TexContainer useTexCnr, DemoModel.ShaderContainer useShaderCnr )
            {
                this.useModel        = useModel;
                this.useTexCnr       = useTexCnr;
                this.useShaderCnr    = useShaderCnr;

                this.useModel.BindTextures( this.useTexCnr );
            }
 /// モデルデータの読み込み
 public bool LoadModel(int idx, String filename)
 {
     modelTbl[idx] = null;
     modelTbl[idx] = new DemoModel.BasicModel(filename, 0);
     return(true);
 }
 /// モデルデータの読み込み
 public bool LoadModel( int idx, String filename )
 {
     modelTbl[idx] = null;
     modelTbl[idx] = new DemoModel.BasicModel( filename, 0 );
     return true;
 }
Beispiel #4
0
 /// 終了
 public void End()
 {
     useModel        = null;
     useTexCnr       = null;
     useShaderCnr    = null;
 }
Beispiel #5
0
 /// 破棄
 public void Term()
 {
     useModel        = null;
     useTexCnr       = null;
     useShaderCnr    = null;
 }
Beispiel #6
0
 /// コンストラクタ
 public ModelHandle()
 {
     useModel        = null;
     useTexCnr       = null;
     useShaderCnr    = null;
 }