Ejemplo n.º 1
0
 protected void CreateLogicalParameterMappingStructures(bool recreateIfExists)
 {
     if (recreateIfExists || this.floatLogicalToPhysical == null)
     {
         this.floatLogicalToPhysical = new GpuProgramParameters.GpuLogicalBufferStruct();
     }
     if (recreateIfExists || this.intLogicalToPhysical == null)
     {
         this.intLogicalToPhysical = new GpuProgramParameters.GpuLogicalBufferStruct();
     }
 }
Ejemplo n.º 2
0
		protected void CreateLogicalParameterMappingStructures( bool recreateIfExists )
		{
			if ( recreateIfExists || this.floatLogicalToPhysical == null )
			{
				this.floatLogicalToPhysical = new GpuProgramParameters.GpuLogicalBufferStruct();
			}
			if ( recreateIfExists || this.intLogicalToPhysical == null )
			{
				this.intLogicalToPhysical = new GpuProgramParameters.GpuLogicalBufferStruct();
			}
		}