GetTypeDesc returns the TypeDesc for the given Type. Returns nil if the type is not registered.
(t Type)
| 66 | // GetTypeDesc returns the TypeDesc for the given Type. |
| 67 | // Returns nil if the type is not registered. |
| 68 | func GetTypeDesc(t Type) *TypeDesc { |
| 69 | return globalRegistry.GetTypeDesc(t) |
| 70 | } |
| 71 | |
| 72 | // GetTypeByName returns all registered image types. |
| 73 | func GetTypeByName(name string) (Type, bool) { |