Exemplo n.º 1
0
 public AmtGraphicsBag()
 {
     mBlendConstants     = new AmtEncoderItemCollection <MgColor4f>();
     mPipelineStates     = new AmtEncoderItemCollection <AmtPipelineStateRecord>();
     mDepthStencilStates = new AmtEncoderItemCollection <IMTLDepthStencilState>();
     mDepthBias          = new AmtEncoderItemCollection <AmtDepthBiasRecord>();
     mStencilReferences  = new AmtEncoderItemCollection <AmtStencilReferenceRecord>();
     mRenderPasses       = new AmtEncoderItemCollection <AmtCmdBindRenderPassRecord>();
     mScissors           = new AmtEncoderItemCollection <MTLScissorRect>();
     mViewports          = new AmtEncoderItemCollection <MTLViewport>();
     mDraws                = new AmtEncoderItemCollection <AmtDrawRecord>();
     mDrawIndirects        = new AmtEncoderItemCollection <AmtDrawIndirectRecord>();
     mDrawIndexeds         = new AmtEncoderItemCollection <AmtDrawIndexedRecord>();
     mDrawIndexedIndirects = new AmtEncoderItemCollection <AmtDrawIndexedIndirectRecord>();
     mVertexBuffers        = new AmtEncoderItemCollection <AmtVertexBufferRecord>();
     DescriptorSets        = new AmtEncoderItemCollection <AmtCmdBindDescriptorSetsRecord>();
 }
 public AmtComputeBag()
 {
     Pipelines        = new AmtEncoderItemCollection <AmtComputePipeline>();
     Dispatch         = new AmtEncoderItemCollection <AmtDispatchRecord>();
     DispatchIndirect = new AmtEncoderItemCollection <AmtDispatchIndirectRecord>();
 }
Exemplo n.º 3
0
 public AmtBlitBag()
 {
     CopyBuffers        = new AmtEncoderItemCollection <AmtBlitCopyBufferRecord>();
     CopyBufferToImages = new AmtEncoderItemCollection <AmtBlitCopyBufferToImageRecord>();
     CopyImages         = new AmtEncoderItemCollection <AmtBlitCopyImageRecord>();
 }