Base class for other render system operations
Ejemplo n.º 1
0
		///<summary>
		///    Queue a render system operation.
		///</summary>
		///<returns>destination pass</returns>
		protected void QueueRenderSystemOp( CompositeTargetOperation finalState, CompositeRenderSystemOperation op )
		{
			// Store operation for current QueueGroup ID
			finalState.RenderSystemOperations.Add( new QueueIDAndOperation( finalState.CurrentQueueGroupId, op ) );
			// Save a pointer, so that it will be freed on recompile
			this.chain.RenderSystemOperations.Add( op );
		}
Ejemplo n.º 2
0
			public QueueIDAndOperation( RenderQueueGroupID queueID, CompositeRenderSystemOperation operation )
			{
				this.queueID = queueID;
				this.operation = operation;
			}