public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(count); writer.Write(dwordsPerVertex); writer.Write(resultId); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(indexBufferId); writer.Write(firstIndex); writer.Write(numTriangles); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(name); writer.Write(span); writer.Write(delta); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(programId); writer.Write(vertexProgram); writer.Write(fragmentProgram); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(width); writer.Write(height); writer.Write(antialias); writer.Write(depthstencil); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(time); writer.Write(numticks); writer.Write(ticktimes); writer.Write(callstack); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(xmin); writer.Write(xmax); writer.Write(ymin); writer.Write(ymax); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(vertexBufferId); writer.Write(source); writer.Write(startVertex); writer.Write(countVertices); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(index); writer.Write(vertexBufferId); writer.Write(bufferOffset); writer.Write(format); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(time); writer.Write(id); writer.Write(size); writer.Write(stackid); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(programType); writer.Write(firstRegister); writer.Write(data); writer.Write(numRegisters); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(x); writer.Write(y); writer.Write(w); writer.Write(h); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(indexBufferId); writer.Write(source); writer.Write(offset); writer.Write(count); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(textureId); writer.Write(srcdata); writer.Write(srcbytesperline); writer.Write(srcformat); writer.Write(srccompressedformat); writer.Write(srcw); writer.Write(srch); writer.Write(inverted); writer.Write(miplevel); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(xmin); writer.Write(xmax); writer.Write(ymin); writer.Write(ymax); writer.Write(name); writer.Write(symbolname); writer.Write(modified); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(red); writer.Write(green); writer.Write(blue); writer.Write(alpha); writer.Write(depth); writer.Write(stencil); writer.Write(mask); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(width); writer.Write(height); writer.Write(format); writer.Write(optimizeForRenderToTexture); writer.Write(streamingLevels); writer.Write(resultId); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(sourceFactor); writer.Write(destFactor); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(triangleFaceToCull); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(resultId); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(programId); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(mode); writer.Write(profile); }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(sampler); writer.Write(textureId); }
public object value; // multiple types found: string double bool int Rect Memory_objectAllocation Memory_deallocation ByteArray Vector<uint> BitmapDataRegion Stage3D_requestContext3D Sampler_sample Context3D_configureBackBuffer Context3D_clear Context3D_setDepthTest Context3D_setScissorRectangle Context3D_setBlendFactors Memory_reallocation Context3D_createProgram Program3D_upload Context3D_setProgram Context3D_setCulling Context3D_setProgramConstantsDouble Context3D_createTexture Texture3D_upload Context3D_setTextureAt Context3D_createVertexBuffer VertexBuffer3D_uploadDouble Context3D_setVertexBufferAt Context3D_setProgramConstants Context3D_createIndexBuffer IndexBuffer3D_upload32 Context3D_drawTriangles Context3D_present #region IAmf3Serializable implementation public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(name); writer.Write(value); }
private static void WriteLogEntry(ref LogEntry entry, ref int timeBase, Amf3Writer output) { if (entry.Span == LogValue) { // emit Value output.WriteObjectHeader(Protocol.Value.ClassDef); output.Write(entry.Name); output.Write(entry.Value); } else if (entry.Span == LogTime) { // emit Time int time = ToMicroSeconds(entry.Time); int delta = time - timeBase; timeBase = time; output.WriteObjectHeader(Protocol.Time.ClassDef); output.Write(entry.Name); output.Write(delta); } else { // emit Span or SpanValue // convert times to microseconds for output int time = ToMicroSeconds(entry.Time); int beginTime = ToMicroSeconds(entry.Time - entry.Span); // compute span and delta in microseconds // this must be done this exact way to preserve rounding errors across spans // if not, the server may produce an error if a span exceeds its expected length int span = time - beginTime; int delta = time - timeBase; timeBase = time; if (entry.Value == null) { output.WriteObjectHeader(Protocol.Span.ClassDef); output.Write(entry.Name); output.Write(span); output.Write(delta); } else { output.WriteObjectHeader(Protocol.SpanValue.ClassDef); output.Write(entry.Name); output.Write(span); output.Write(delta); output.Write(entry.Value); } } }
public void Serialize(Amf3Writer writer) { writer.WriteObjectHeader(ClassDef); writer.Write(depthMask); writer.Write(passCompareMode); }