Пример #1
0
 internal ShaderPostprocessImplementationBlockBase(BinaryReader binaryReader)
 {
     this.gPUConstantState        = new ShaderGpuStateReferenceStructBlock(binaryReader);
     this.gPUVolatileState        = new ShaderGpuStateReferenceStructBlock(binaryReader);
     this.bitmapParameters        = new TagBlockIndexStructBlock(binaryReader);
     this.bitmapTransforms        = new TagBlockIndexStructBlock(binaryReader);
     this.valueParameters         = new TagBlockIndexStructBlock(binaryReader);
     this.colorParameters         = new TagBlockIndexStructBlock(binaryReader);
     this.bitmapTransformOverlays = new TagBlockIndexStructBlock(binaryReader);
     this.valueOverlays           = new TagBlockIndexStructBlock(binaryReader);
     this.colorOverlays           = new TagBlockIndexStructBlock(binaryReader);
     this.vertexShaderConstants   = new TagBlockIndexStructBlock(binaryReader);
 }
 internal ShaderPassPostprocessImplementationBlockBase(BinaryReader binaryReader)
 {
     this.gPUState                = new ShaderGpuStateStructBlock(binaryReader);
     this.gPUConstantState        = new ShaderGpuStateReferenceStructBlock(binaryReader);
     this.gPUVolatileState        = new ShaderGpuStateReferenceStructBlock(binaryReader);
     this.gPUDefaultState         = new ShaderGpuStateReferenceStructBlock(binaryReader);
     this.vertexShader            = binaryReader.ReadTagReference();
     this.invalidName_            = binaryReader.ReadBytes(8);
     this.invalidName_0           = binaryReader.ReadBytes(8);
     this.invalidName_1           = binaryReader.ReadBytes(4);
     this.invalidName_2           = binaryReader.ReadBytes(4);
     this.valueExterns            = ReadExternReferenceBlockArray(binaryReader);
     this.colorExterns            = ReadExternReferenceBlockArray(binaryReader);
     this.switchExterns           = ReadExternReferenceBlockArray(binaryReader);
     this.bitmapParameterCount    = binaryReader.ReadInt16();
     this.invalidName_3           = binaryReader.ReadBytes(2);
     this.invalidName_4           = binaryReader.ReadBytes(240);
     this.pixelShaderFragments    = ReadPixelShaderFragmentBlockArray(binaryReader);
     this.pixelShaderPermutations = ReadPixelShaderPermutationBlockArray(binaryReader);
     this.pixelShaderCombiners    = ReadPixelShaderCombinerBlockArray(binaryReader);
     this.pixelShaderConstants    = ReadPixelShaderConstantBlockArray(binaryReader);
     this.invalidName_5           = binaryReader.ReadBytes(4);
     this.invalidName_6           = binaryReader.ReadBytes(4);
 }