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