Example #1
0
        public ShaderType FindOrCreatePointerType(TypeKey key, TypeName typeName, StorageClass storageClass)
        {
            var baseType = mCurrentLibrary.FindType(key);

            return(FindOrCreatePointerType(baseType, storageClass));
        }
Example #2
0
 //---------------------------------------------------------------Types
 public bool AddType(TypeKey key, ShaderType shaderType)
 {
     return(mTypeMap.TryAdd(key, shaderType));
 }
Example #3
0
 public ShaderType FindType(TypeKey typeKey)
 {
     return(mCurrentLibrary.FindType(typeKey));
 }