public BlendMesh(OpenGL_BLEND blend) { this.blend = blend; id = new BlendID(blend); vdata = new BlendCustomData(blend); edata = new BlendCustomData(blend); fdata = new BlendCustomData(blend); pdata = new BlendCustomData(blend); ldata = new BlendCustomData(blend); }
/** Loads a .blend file into the template array. * Use addModel() to add a clone into the render scene. */ public OpenGLModel LoadBlend(String fn) { OpenGLModel mod; mod = mtl.Get(fn); if (mod != null) { mod.refcnt++; return(mod); } OpenGL_BLEND loader = new OpenGL_BLEND(); mod = loader.Load(fn); if (mod == null) { return(null); } mtl.Set(fn, mod); mod.refcnt = 1; mod = (OpenGLModel)mod.Clone(); return(mod); }
public BlendCustomDataLayer(OpenGL_BLEND blend) { this.blend = blend; }
public BlendObject(OpenGL_BLEND blend) { this.blend = blend; id = new BlendID(blend); }
public BlendBase(OpenGL_BLEND blend) { this.blend = blend; }
public BlendScene(OpenGL_BLEND blend) { this.blend = blend; }
public BlendID(OpenGL_BLEND blend) { this.blend = blend; }
public BlendChunk(OpenGL_BLEND blend) { this.blend = blend; }
public BlendImage(OpenGL_BLEND blend) { this.blend = blend; id = new BlendID(blend); }
public BlendMLoopUV(OpenGL_BLEND blend) { this.blend = blend; }
public BlendMTexPoly(OpenGL_BLEND blend) { this.blend = blend; }
public BlendMVert(OpenGL_BLEND blend) { this.blend = blend; }