Summary description for XnaHardwareIndexBuffer.
Наследование: Axiom.Graphics.HardwareIndexBuffer
Пример #1
0
        public override HardwareIndexBuffer CreateIndexBuffer(IndexType type, int numIndices, BufferUsage usage, bool useShadowBuffer)
        {
            var buffer = new XnaHardwareIndexBuffer(this, type, numIndices, usage, _device, false, useShadowBuffer);

            lock (IndexBuffersMutex)
                indexBuffers.Add(buffer);
            return(buffer);
        }
Пример #2
0
		public override HardwareIndexBuffer CreateIndexBuffer( IndexType type, int numIndices, BufferUsage usage, bool useShadowBuffer )
		{
			XnaHardwareIndexBuffer buffer = new XnaHardwareIndexBuffer( this, type, numIndices, usage, _device, false, useShadowBuffer );
			indexBuffers.Add( buffer );
			return buffer;
		}