Class PatternVideoSourceConfig
Test pattern rendered on the GPU.
public sealed class PatternVideoSourceConfig : Google.Protobuf.IMessage<PatternVideoSourceConfig>, Google.Protobuf.IBufferMessage
- Inheritance
-
PatternVideoSourceConfig
- Implements
-
IBufferMessage
- Extension Methods
Constructors
PatternVideoSourceConfig()
public PatternVideoSourceConfig()
PatternVideoSourceConfig(PatternVideoSourceConfig)
public PatternVideoSourceConfig(PatternVideoSourceConfig other)
Parameters
otherPatternVideoSourceConfig
Fields
FramerateFpsFieldNumber
Field number for the "framerate_fps" field.
public const int FramerateFpsFieldNumber = 2
Field Value
PatternFieldNumber
Field number for the "pattern" field.
public const int PatternFieldNumber = 3
Field Value
ResolutionFieldNumber
Field number for the "resolution" field.
public const int ResolutionFieldNumber = 1
Field Value
Properties
Descriptor
public static Google.Protobuf.Reflection.MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
FramerateFps
Output frame rate in frames per second.
public uint FramerateFps { get; set; }
Property Value
HasFramerateFps
Gets whether the "framerate_fps" field is set
public bool HasFramerateFps { get; }
Property Value
HasPattern
Gets whether the "pattern" field is set
public bool HasPattern { get; }
Property Value
Parser
public static Google.Protobuf.MessageParser<PatternVideoSourceConfig> Parser { get; }
Property Value
- MessageParser<PatternVideoSourceConfig>
Pattern
Pattern to render.
public Pattern Pattern { get; set; }
Property Value
Resolution
Output resolution.
public VideoSourceResolution Resolution { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearFramerateFps()
Clears the value of the "framerate_fps" field
public void ClearFramerateFps()
ClearPattern()
Clears the value of the "pattern" field
public void ClearPattern()
Clone()
public PatternVideoSourceConfig Clone()
Returns
Equals(PatternVideoSourceConfig)
public bool Equals(PatternVideoSourceConfig other)
Parameters
otherPatternVideoSourceConfig
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
public void MergeFrom(Google.Protobuf.CodedInputStream input)
Parameters
inputCodedInputStream
MergeFrom(PatternVideoSourceConfig)
public void MergeFrom(PatternVideoSourceConfig other)
Parameters
otherPatternVideoSourceConfig
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(Google.Protobuf.CodedOutputStream output)
Parameters
outputCodedOutputStream