Esempio n. 1
0
 public XnaGeometry(string contentName, Device device)
     : base(contentName)
 {
     this.device        = device as XnaDevice;
     nativeDevice       = (device as XnaDevice).NativeDevice;
     nativeVertexFormat = new XnaVertexFormat();
 }
Esempio n. 2
0
 public XnaGeometry(GeometryCreationData creationData, Device device)
     : base(creationData)
 {
     this.device        = device as XnaDevice;
     nativeDevice       = (device as XnaDevice).NativeDevice;
     nativeVertexFormat = new XnaVertexFormat();
 }
Esempio n. 3
0
 protected override sealed void CreateShader()
 {
     nativeFormat = new XnaVertexFormat();
 }