Inheritance: EmitTypeHLSL
コード例 #1
0
 public SimpleValHLSL(
     string name,
     RealTypeHLSL type)
     : base(type)
 {
     _name = name;
 }
コード例 #2
0
 public ArrayTypeBaseHLSL(
     RealTypeHLSL elementType,
     EmitValHLSL elementCount)
 {
     _elementType = elementType;
     _elementCount = elementCount;
 }
コード例 #3
0
 public PseudoArrayElemTypeHLSL(
     RealTypeHLSL elementType,
     EmitValHLSL elementCount)
     : base(elementType, elementCount)
 {
 }
コード例 #4
0
 public LitHLSL(
     RealTypeHLSL type,
     string val)
     : base(val, type)
 {
 }
コード例 #5
0
 private ITypeHLSL MakePseudoArrayElemTypeImpl(
     RealTypeHLSL type,
     EmitValHLSL count)
 {
     return new PseudoArrayElemTypeHLSL(type, count);
 }
コード例 #6
0
 private EmitValHLSL GetFieldImpl(
     SimpleValHLSL objVal,
     RealTypeHLSL fieldType,
     string fieldName,
     int fieldIndex,
     Span span)
 {
     return new SimpleValHLSL(
         string.Format("({0}).{1}", objVal, fieldName),
         fieldType);
 }
コード例 #7
0
 public ArrayTypeHLSL(
     RealTypeHLSL elementType,
     EmitValHLSL elementCount)
     : base(elementType, elementCount)
 {
 }