Пример #1
0
 public XnaGeometry(string contentName, Device device)
     : base(contentName)
 {
     this.device        = device as XnaDevice;
     nativeDevice       = (device as XnaDevice).NativeDevice;
     nativeVertexFormat = new XnaVertexFormat();
 }
Пример #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();
		}
Пример #5
0
		protected override sealed void Create()
		{
			nativeFormat = new XnaVertexFormat();
		}
Пример #6
0
 protected override sealed void CreateShader()
 {
     nativeFormat = new XnaVertexFormat();
 }