예제 #1
0
 internal ShaderPassPostprocessImplementationNewBlockBase(BinaryReader binaryReader)
 {
     this.textures                   = new TagBlockIndexStructBlock(binaryReader);
     this.renderStates               = new TagBlockIndexStructBlock(binaryReader);
     this.textureStates              = new TagBlockIndexStructBlock(binaryReader);
     this.invalidName_               = binaryReader.ReadBytes(240);
     this.psFragments                = new TagBlockIndexStructBlock(binaryReader);
     this.psPermutations             = new TagBlockIndexStructBlock(binaryReader);
     this.psCombiners                = new TagBlockIndexStructBlock(binaryReader);
     this.vertexShader               = binaryReader.ReadTagReference();
     this.invalidName_0              = binaryReader.ReadBytes(8);
     this.invalidName_1              = binaryReader.ReadBytes(8);
     this.invalidName_2              = binaryReader.ReadBytes(4);
     this.invalidName_3              = binaryReader.ReadBytes(4);
     this.defaultRenderStates        = new TagBlockIndexStructBlock(binaryReader);
     this.renderStateExterns         = new TagBlockIndexStructBlock(binaryReader);
     this.textureStateExterns        = new TagBlockIndexStructBlock(binaryReader);
     this.pixelConstantExterns       = new TagBlockIndexStructBlock(binaryReader);
     this.vertexConstantExterns      = new TagBlockIndexStructBlock(binaryReader);
     this.psConstants                = new TagBlockIndexStructBlock(binaryReader);
     this.vsConstants                = new TagBlockIndexStructBlock(binaryReader);
     this.pixelConstantInfo          = new TagBlockIndexStructBlock(binaryReader);
     this.vertexConstantInfo         = new TagBlockIndexStructBlock(binaryReader);
     this.renderStateInfo            = new TagBlockIndexStructBlock(binaryReader);
     this.textureStateInfo           = new TagBlockIndexStructBlock(binaryReader);
     this.pixelShader                = ReadShaderPostprocessPixelShaderArray(binaryReader);
     this.pixelShaderSwitchExternMap = ReadPixelShaderExternMapBlockArray(binaryReader);
     this.pixelShaderIndexBlock      = ReadPixelShaderIndexBlockArray(binaryReader);
 }
 internal ShaderPostprocessImplementationNewBlockBase(BinaryReader binaryReader)
 {
     this.bitmapTransforms = new TagBlockIndexStructBlock(binaryReader);
     this.renderStates     = new TagBlockIndexStructBlock(binaryReader);
     this.textureStates    = new TagBlockIndexStructBlock(binaryReader);
     this.pixelConstants   = new TagBlockIndexStructBlock(binaryReader);
     this.vertexConstants  = new TagBlockIndexStructBlock(binaryReader);
 }
예제 #3
0
 internal PixelShaderPermutationBlockBase(BinaryReader binaryReader)
 {
     this.enumIndex     = binaryReader.ReadInt16();
     this.flags         = (Flags)binaryReader.ReadInt16();
     this.constants     = new TagBlockIndexStructBlock(binaryReader);
     this.combiners     = new TagBlockIndexStructBlock(binaryReader);
     this.invalidName_  = binaryReader.ReadBytes(4);
     this.invalidName_0 = binaryReader.ReadBytes(4);
 }
 internal ShaderGpuStateReferenceStructBlockBase(BinaryReader binaryReader)
 {
     this.renderStates           = new TagBlockIndexStructBlock(binaryReader);
     this.textureStageStates     = new TagBlockIndexStructBlock(binaryReader);
     this.renderStateParameters  = new TagBlockIndexStructBlock(binaryReader);
     this.textureStageParameters = new TagBlockIndexStructBlock(binaryReader);
     this.textures    = new TagBlockIndexStructBlock(binaryReader);
     this.vnConstants = new TagBlockIndexStructBlock(binaryReader);
     this.cnConstants = new TagBlockIndexStructBlock(binaryReader);
 }
예제 #5
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 ShaderPostprocessAnimatedParameterNewBlockBase(BinaryReader binaryReader)
 {
     this.overlayReferences = new TagBlockIndexStructBlock(binaryReader);
 }
예제 #7
0
 internal ShaderTemplatePostprocessPassNewBlockBase(BinaryReader binaryReader)
 {
     this.pass            = binaryReader.ReadTagReference();
     this.implementations = new TagBlockIndexStructBlock(binaryReader);
 }
 internal ShaderPostprocessLevelOfDetailNewBlockBase(BinaryReader binaryReader)
 {
     this.availableLayerFlags = binaryReader.ReadInt32();
     this.layers = new TagBlockIndexStructBlock(binaryReader);
 }
예제 #9
0
 internal PixelShaderFragmentBlockBase(BinaryReader binaryReader)
 {
     this.switchParameterIndex = binaryReader.ReadByte();
     this.permutationsIndex    = new TagBlockIndexStructBlock(binaryReader);
 }
 internal ShaderTemplatePostprocessLevelOfDetailNewBlockBase(BinaryReader binaryReader)
 {
     this.layers                    = new TagBlockIndexStructBlock(binaryReader);
     this.availableLayers           = binaryReader.ReadInt32();
     this.projectedHeightPercentage = binaryReader.ReadSingle();
 }
예제 #11
0
 internal ShaderPostprocessLayerBlockBase(BinaryReader binaryReader)
 {
     this.passes = new TagBlockIndexStructBlock(binaryReader);
 }
 internal PixelShaderPermutationNewBlockBase(BinaryReader binaryReader)
 {
     this.enumIndex = binaryReader.ReadInt16();
     this.flags     = binaryReader.ReadInt16();
     this.combiners = new TagBlockIndexStructBlock(binaryReader);
 }
 internal ShaderTemplatePostprocessImplementationNewBlockBase(BinaryReader binaryReader)
 {
     this.bitmaps         = new TagBlockIndexStructBlock(binaryReader);
     this.pixelConstants  = new TagBlockIndexStructBlock(binaryReader);
     this.vertexConstants = new TagBlockIndexStructBlock(binaryReader);
 }
 internal TagBlockIndexBlockBase(BinaryReader binaryReader)
 {
     this.indices = new TagBlockIndexStructBlock(binaryReader);
 }