示例#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();
 }